mlsanityData to 14 Oct 2026

RAG Safety: Exploring Knowledge Poisoning Attacks to Retrieval-Augmented Generation

arXiv 2507.08862 ↗First posted 9 Jul 2025cs.CR cs.CLcited by 3

On the map: Retrieval-augmented generation → Privacy and security of RAG

also in 1 more
Abstract (arXiv)

Retrieval-Augmented Generation (RAG) enhances large language models (LLMs) by retrieving external data to mitigate hallucinations and outdated knowledge issues. Benefiting from the strong ability in facilitating diverse data sources and supporting faithful reasoning, knowledge graphs (KGs) have been increasingly adopted in RAG systems, giving rise to KG-based RAG (KG-RAG) methods. Though RAG systems are widely applied in various applications, recent studies have also revealed its vulnerabilities to data poisoning attacks, where malicious information injected into external knowledge sources can mislead the system into producing incorrect or harmful responses. However, these studies focus exclusively on RAG systems using unstructured textual data sources, leaving the security risks of KG-RAG largely unexplored, despite the fact that KGs present unique vulnerabilities due to their structured and editable nature. In this work, we conduct the first systematic investigation of the security issue of KG-RAG methods through data poisoning attacks. To this end, we introduce a practical, stealthy attack setting that aligns with real-world implementation. We propose an attack strategy that first identifies adversarial target answers and then inserts perturbation triples to complete misleading inference chains in the KG, increasing the likelihood that KG-RAG methods retrieve and rely on these perturbations during generation. Through extensive experiments on two benchmarks and four recent KG-RAG methods, our attack strategy demonstrates strong effectiveness in degrading KG-RAG performance, even with minimal KG perturbations. In-depth analyses are also conducted to understand the safety threats within the internal stages of KG-RAG systems and to explore the robustness of LLMs against adversarial knowledge.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Privacy and security of RAG, one of 15 directions in Retrieval-augmented generation. Builds on 26 of its 41 references that are in the map. First posted on arXiv 9 Jul 2025.

Builds on

26 of 41 references.

Closest ancestors · 3

Same direction, newest first

  1. 2025Poison-RAG: Adversarial Data Poisoning Attacks on Retrieval-Augmented Generation in Recommender Systems20 Jan
  2. 2024"Glue pizza and eat rocks" -- Exploiting Vulnerabilities in Retrieval-Augmented Generative Models26 Jun
  3. 2024BadRAG: Identifying Vulnerabilities in Retrieval Augmented Generation of Large Language Models3 Jun

Other references · 23

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  5. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  6. 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,453
  7. 2019RotatE: Knowledge Graph Embedding by Relational Rotation in Complex Spacecited by 898
  8. 2020A Survey on Knowledge Graphs: Representation, Acquisition and Applicationscited by 643
  9. 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Modelscited by 452
  10. 2018The Web as a Knowledge-base for Answering Complex Questionscited by 410
  11. 2023Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoningcited by 328
  12. 2024Graph Retrieval-Augmented Generation: A Surveycited by 324
11 more
  1. 2024G-Retriever: Retrieval-Augmented Generation for Textual Graph Understanding and Question Answeringcited by 223
  2. 2024Retrieval-Augmented Generation with Graphs (GraphRAG)cited by 172
  3. 2022Improving the Domain Adaptation of Retrieval Augmented Generation (RAG) Models for Open Domain Question Answeringcited by 127
  4. 2021Improving Multi-hop Knowledge Base Question Answering by Learning Intermediate Supervision Signalscited by 101
  5. 2024Graph-constrained Reasoning: Faithful Reasoning on Knowledge Graphs with Large Language Modelscited by 48
  6. 2019Data Poisoning Attack against Knowledge Graph Embeddingcited by 36
  7. 2025Towards Trustworthy Retrieval Augmented Generation for Large Language Models: A Surveycited by 30
  8. 2023Neural Compositional Rule Learning for Knowledge Graph Reasoningcited by 20
  9. 2024CoTKR: Chain-of-Thought Enhanced Knowledge Rewriting for Complex Knowledge Graph Question Answeringcited by 17
  10. 2021Poisoning Knowledge Graph Embeddings via Relation Inference Patternscited by 12
  11. 2024Untargeted Adversarial Attack on Knowledge Graph Embeddingscited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Traceback of Poisoning Attacks to Retrieval-Augmented Generation
  2. 2025Practical Poisoning Attacks against Retrieval-Augmented Generation
  3. 2024PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models
  4. 2026Influence Factors on RAG Poisoning
  5. 2025One Shot Dominance: Knowledge Poisoning Attack on Retrieval-Augmented Generation Systems
  6. 2025POISONCRAFT: Practical Poisoning of Retrieval-Augmented Generation for Large Language Models
  7. 2025Secure Retrieval-Augmented Generation against Poisoning Attacks
  8. 2025Benchmarking Poisoning Attacks against Retrieval-Augmented Generation