Text-level poisoning easily succeeds in LightRAG, graph-level poisoning less effective
Text-level poisoning attacks can succeed against LightRAG systems, while graph-level attacks are less effective
Security & privacy arXiv 20 Nov 2026 Measurement Prototype evidence
Published as “Poisoning Attacks and Collaborative Defense Framework for LightRAG-Based Construction Regulation Knowledge”
Why it matters
Regulatory RAG assistants must enforce strict corpus admission control and version-aware verification before they can be trusted for safety-critical decisions.
Summary
Text-level poisoning succeeded on 33 of 150 targets (0.220 attack success rate), far above the pre-registered bound of 0.10, while graph-level poisoning succeeded on 22 of 150 targets, contrary to expectations. The three-layer defense met its criterion, but configurations with the NLI layer refused 69-80% of poisoned queries and lost up to 74 points of clean accuracy, whereas provenance filtering caused virtually no clean-accuracy loss. Zero attack success rates can arise from refusals rather than true detection, and the graph’s description layer lacks provenance, creating a hidden attack surface.
What they found 3
- Text-level poisoning achieved a 0.220 success rate (33/150) exceeding the registered bound of 0.10.
“Text-level poisoning succeeded on 33 of 150 targets at five passages per target, a rate of 0.220 against a registered bound of 0.10 (p = 1.17 × 10-5), and its success rose with the budget, although the poison was already retrieved every time at a budget of one passage.”
- Graph-level poisoning succeeded on 22 of 150 targets, opposite to the hypothesis that the graph would be the softer target.
“Graph-level poisoning succeeded on 22 of 150 targets, the opposite of the registered prediction, so the graph was not the softer target.”
- The NLI defense layer caused high refusal rates (69-80%) and up to 74 points loss in clean accuracy, while provenance filtering incurred only a 0.36-point loss.
“However, every configuration containing the NLI layer did so by refusing 69-80 percent of poisoned queries, at a cost of up to 74 points of clean accuracy, whereas provenance filtering showed no measurable loss of clean accuracy in the configuration used, by a margin of only 0.36 points;”
Caveats 5
- Zero attack success can result from the system refusing to answer rather than from true detection, so the reported zero rates may overstate defense effectiveness.
- The NLI layer’s high refusal rate and large clean-accuracy degradation undermine the practicality of the full defense.
- Graph-layer descriptions lack document provenance, providing an attack path that none of the three defense layers inspect.
- These findings describe one system (LightRAG 1.5.8), one serving model, one jurisdiction's regulations in one language and one curated experimental index; they may not transfer to open corpora or to systems with different retrieval parameters.
- The layers interacted so strongly that the contribution of each cannot be isolated.
What’s new here 4
- First empirical evaluation of poisoning attacks on a graph-based RAG system for building-regulation knowledge.
- First factorial study of a three-layer defense (retrieval provenance filter, graph verification, NLI citation checking) on the same system.
- Shows that reporting zero attack success without refusal rates is misleading, highlighting the need to report refusal share.
- Identifies that graph-layer descriptions carry no document provenance, exposing a previously unexamined attack vector.