GraphRAG-LTM: A Layered Threat Modeling Framework for Attacks on Graph Retrieval-Augmented Generation

Yining Tang, Junyu Zhang, Haomiao Qiu, Yongchao Liu, Jiajun Zheng, Zhao Wang, Ziyue Qiao, Chao WuarXiv 2026

TL;DR

GraphRAG-LTM introduces a layered threat modeling framework to expose vulnerabilities in Graph Retrieval-Augmented Generation (GraphRAG) systems. By combining adversarial query perturbations with targeted deletions of "bridge triplets" in the knowledge graph, the authors demonstrate that GraphRAG’s reliance on seed retrieval makes it susceptible to significant performance degradation, even when traditional RAG attacks fail.

What Problem Does This Paper Address?

Retrieval-Augmented Generation (RAG) has become the standard for grounding LLMs in external facts. Recently, GraphRAG has gained traction by using knowledge graphs (KGs) to capture inter-chunk dependencies, enabling better multi-hop reasoning.

While GraphRAG is often perceived as more robust than "Flat RAG" (which uses unstructured text chunks), its security remains largely unexplored. The authors identify a critical "evidence path": a query retrieves "seed chunks," which then anchor a graph expansion to gather more evidence. If an attacker can manipulate this anchor or the connections within the graph, the entire reasoning chain collapses. This paper systematically categorizes these vulnerabilities based on how much access an attacker has to the system.

Methods

The authors propose GraphRAG-LTM, a framework consisting of three nested levels of attacker access:

  1. BB Query (Black-Box): The attacker only sees the ranked results. They use a ranking-guided attack that iteratively replaces words in the query with synonyms to demote the original "seed chunks" while maintaining semantic similarity.
  2. WB Query (White-Box): The attacker has access to the retriever’s gradients. They use these gradients to identify the most effective token substitutions to suppress the ranking of relevant evidence.
  3. Graph-aware WB: The most potent tier. In addition to the white-box query attack, the attacker can edit the query-specific evidence graph. Specifically, they target "bridge triplets"—triplets that connect entities across different document chunks. Deleting these "bridges" effectively isolates pieces of evidence, preventing the system from performing multi-hop reasoning.
The three nested attacker access levels, ranging from simple rank feedback to full graph triplet access.

The attack components are mapped across the GraphRAG pipeline, showing how query edits affect initial retrieval and graph cuts disrupt evidence expansion.

Figure 3: Attack components across the three access tiers of GraphRAG-LTM. The upper-left panel shows the query attacks of Tiers 1 and 2: BB Query uses ranking feedback, whereas WB Query uses the gradient-guided edits shown; both aim to demote seed chunks. Tier 3 retains WB Query and adds the bridge-triplet cuts shown in the upper-right panel. The bottom panel maps these interventions onto the GraphRAG pipeline: query edits affect seed retrieval at all three tiers, while bridge-triplet cuts affect graph-based evidence expansion only at Tier 3.

Datasets

The framework was evaluated on three multi-hop Question Answering (QA) benchmarks:

  • HotpotQA-Distractor: A dataset requiring reasoning across multiple documents.
  • MuSiQue: A complex multi-hop dataset designed to minimize "shortcuts."
  • 2WikiMultihopQA: A dataset featuring structured multi-hop reasoning.
  • TriviaQA: Used for supplementary analysis of single-hop performance.

Key Insights and Ideas

  • GraphRAG’s Robustness is a Double-Edged Sword: Graph expansion can actually help a system recover relevant evidence even if the initial query is slightly off. However, this makes the system highly dependent on the "bridge" connections in the graph.
  • Seed Chunks are the Single Point of Failure: Because the graph expansion starts from the top-K retrieved chunks, successfully demoting these "anchors" prevents the system from ever finding the rest of the relevant graph.
  • Synergistic Degradation: The authors found that query perturbations and graph edits are more effective when used together. Cutting bridge triplets is particularly damaging when the query has already been shifted, as it destroys the recovery paths the graph would normally provide.

Key Results

The authors compared GraphRAG-LTM against several baselines, including prompt injection and corpus poisoning.

  • Effectiveness vs. Baselines: On HotpotQA, prior attacks that caused massive drops in Flat RAG (like PoisonedRAG) were much less effective against GraphRAG. In contrast, GraphRAG-LTM attacks remained highly effective.
  • Performance Drop: The Graph-aware WB attack achieved the lowest Answer F1 scores across all settings. For instance, on HotpotQA with LLaMA3-8B, it caused an Answer Precision drop of over 30 percentage points.
  • Retrieval Impairment: Unlike some baselines that affect the LLM's generation but not the retrieval, GraphRAG-LTM significantly reduces both Answer F1 and Supporting-fact Retrieval F1.
Figure 1: Answer and supporting-fact retrieval preci- sion and recall drops (percentage points from Clean) on HotpotQA-Distractor with BGE and LLaMA3-8B. Blue bars show prior baselines; red hatched bars show our BB Query, WB Query, and Graph-aware WB at- tacks. Lighter and darker shades denote Flat RAG and GraphRAG, respectively. Several baselines cause sub- stantially larger drops in answer precision and recall on Flat RAG than on GraphRAG, whereas our attacks remain effective on GraphRAG.

Limitations and Future Work

The authors acknowledge that their findings are bounded by the specific GraphRAG configurations and access levels tested. The "insider" access required for the Graph-aware WB attack (editing triplets) is a high bar, though it models compromised graph-processing components.

Future Directions: * Robust Seed Retrieval: Developing methods that don't rely on a single ranking before graph expansion (e.g., using multiple independent retrieval signals). * Triplet Verification: Implementing checks to verify the provenance of triplets and ensure that "bridge" relations haven't been maliciously removed. * Defensive Graph Construction: Retaining alternative evidence paths to make the graph more resilient to localized edits.

Summary updated

BibTeX
@misc{tang2026graphrag,
  author = {Yining Tang and Junyu Zhang and Haomiao Qiu and Yongchao Liu and Jiajun Zheng and Zhao Wang and Ziyue Qiao and Chao Wu},
  title = {{GraphRAG-LTM: A Layered Threat Modeling Framework for Attacks on Graph Retrieval-Augmented Generation}},
  year = {2026},
  eprint = {2610.19549},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.19549},
}
Figure