Intel

AIKIDO-2026-504584

lightrag-hku is vulnerable to Cache Poisoning

CVE-2026-114507Published Aug 3, 2026
August 3, 2026

65

CVE Score

Medium

Cache Poisoning

Are you affected? Scan for Free

TL;DR

LightRAG caches generated query answers under a key computed over the query text, mode, retrieval parameters, and LLM identity, but omits conversation_history from that key even though it is passed to the model and materially changes the answer. A caller who supplies conversation_history can therefore determine the answer stored for a given question, and that stored answer is later returned verbatim to callers who supply no history. Because the default whitelist exempts the Ollama-compatible /api/chat route, the writing caller can be unauthenticated while the reading caller is authenticated, and the poisoned answer is served alongside genuine references. The fix bypasses the query-answer cache for both read and write whenever conversation_history is non-empty.

How do I fix this?

Upgrade the lightrag-hku library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and clients can send conversation_history on query or chat requests against a shared response cache.

Versions

0.0.1 - 1.5.4

Fixed in 1.5.5

Background info

lightrag-hku is vulnerable to Cache Poisoning in versions 0.0.1 - 1.5.4.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea