lightrag-hku is vulnerable to Uncontrolled Resource Consumption
75
High Risk
The LightRAG API server passes the chat message from the Ollama-compatible /api/chat route straight to a synchronous tokenizer call on the asyncio event loop with no size limit. The message field and message list are unbounded and the route is reachable without authentication under the shipped default whitelist, so a single large body ties up the only serving thread and can exhaust process memory. The fix caps message size, moves token counting off the event loop, and enforces a global request-body limit.
You are affected if you are using a version that falls within the vulnerable range and you expose the LightRAG API server.
lightrag-hku is vulnerable to Uncontrolled Resource Consumption in versions 0.0.1 - 1.5.5.
Upgrade the lightrag-hku library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant