Towards Secure Retrieval-Augmented Generation: A Comprehensive Review of Threats, Defenses and Benchmarks
On the map: Retrieval-augmented generation → Privacy and security of RAG
also in 1 more
Abstract (arXiv)
Retrieval-Augmented Generation (RAG) significantly mitigates the hallucinations and domain knowledge deficiency in large language models by incorporating external knowledge bases. However, the multi-module architecture of RAG introduces complex system-level security vulnerabilities. Guided by the RAG workflow, this paper analyzes the underlying vulnerability mechanisms and systematically categorizes core threat vectors such as data poisoning, adversarial attacks, and membership inference attacks. Based on this threat assessment, we construct a taxonomy of RAG defense technologies from a dual perspective encompassing both input and output stages. The input-side analysis reviews data protection mechanisms including dynamic access control, homomorphic encryption retrieval, and adversarial pre-filtering. The output-side examination summarizes advanced leakage prevention techniques such as federated learning isolation, differential privacy perturbation, and lightweight data sanitization. To establish a unified benchmark for future experimental design, we consolidate authoritative test datasets, security standards, and evaluation frameworks. To the best of our knowledge, this paper presents the first end-to-end survey dedicated to the security of RAG systems. Distinct from existing literature that isolates specific vulnerabilities, we systematically map the entire pipeline-providing a unified analysis of threat models, defense mechanisms, and evaluation benchmarks. By enabling deep insights into potential risks, this work seeks to foster the development of highly robust and trustworthy next-generation RAG systems.
Key facts. Cited by 4 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 38 of its 142 references that are in the map. First posted on arXiv 23 Mar 2026.
Builds on
38 of 142 references.
Closest ancestors · 12
Same direction, newest first
- 2025Securing AI Agents Against Prompt Injection Attacks19 Nov
- 2025Privacy-Aware Decoding: Mitigating Privacy Leakage of Large Language Models in Retrieval-Augmented Generation5 Aug
- 2025InvisibleInk: High-Utility and Low-Cost Text Generation with Differential Privacy30 Jun
- 2025CPA-RAG:Covert Poisoning Attacks on Retrieval-Augmented Generation in Large Language Models26 May
- 2025Practical Poisoning Attacks against Retrieval-Augmented Generation4 Apr
- 2024C-FedRAG: A Confidential Federated Retrieval-Augmented Generation System17 Dec
- 2024Privacy-Preserving Retrieval-Augmented Generation with Differential Privacy6 Dec
- 2024HijackRAG: Hijacking Attacks against Retrieval-Augmented Large Language Models30 Oct
- 2024Poisoned LangChain: Jailbreak LLMs by LangChain26 Jun
- 2024BadRAG: Identifying Vulnerabilities in Retrieval Augmented Generation of Large Language Models3 Jun
- 2024Phantom: General Backdoor Attacks on Retrieval Augmented Language Generation30 May
- 2024Pandora: Jailbreak GPTs by Retrieval Augmented Generation Poisoning13 Feb
Other references · 26
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,839
- 2023DUSt3R: Geometric 3D Vision Made Easycited by 1,567
- 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,453
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 800
- 2022Quantifying Memorization Across Neural Language Modelscited by 763
- 2023Prompt Injection attack against LLM-integrated Applicationscited by 605
- 2022Towards Reasoning in Large Language Models: A Surveycited by 596
- 2024RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrievalcited by 532
- 2023Larger language models do in-context learning differentlycited by 394
- 2023Membership Inference Attacks against Language Models via Neighbourhood Comparisoncited by 258
14 more
- 2024ColPali: Efficient Document Retrieval with Vision Language Modelscited by 195
- 2023Text Embeddings Reveal (Almost) As Much As Textcited by 192
- 2022Quantifying Privacy Risks of Masked Language Models Using Membership Inference Attackscited by 175
- 2024Blended RAG: Improving RAG (Retriever-Augmented Generation) Accuracy with Semantic Search and Hybrid Query-Based Retrieverscited by 84
- 2024Searching for Best Practices in Retrieval-Augmented Generationcited by 83
- 2023Rethinking the Evaluation for Conversational Recommendation in the Era of Large Language Modelscited by 48
- 2024Membership Inference Attacks Against In-Context Learningcited by 43
- 2024RARE: Retrieval-Augmented Reasoning Enhancement for Large Language Modelscited by 25
- 2024SiReRAG: Indexing Similar and Related Information for Multihop Reasoningcited by 23
- 2025Privacy-Enhancing Paradigms within Federated Multi-Agent Systemscited by 7
- 2025PPMI: Privacy-Preserving LLM Interaction with Socratic Chain-of-Thought Reasoning and Homomorphically Encrypted Vector Databasescited by 6
- 2026AgenticRed: Evolving Agentic Systems for Red-Teamingcited by 5
- 2025RAG Makes Guardrails Unsafe? Investigating Robustness of Guardrails under RAG-style Contextscited by 3
- 2025ZKPROV: A Zero-Knowledge Approach to Dataset Provenance for Large Language Modelscited by 2
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026A Survey on Long-Term Memory Security in LLM Agents: Attacks, Defenses, and Governance Across the Memory Lifecyclecited by 27
- 2026When RAG Chatbots Expose Their Backend: An Anonymized Case Study of Privacy and Security Risks in Patient-Facing Medical AIcited by 0
- 2026Is External Database Protection Static in Retrieval-Augmented Generation? Rethinking Privacy Preservation under Dynamic Queriescited by 0
- 2026RAGStress: A controlled benchmark for evaluating retrieval-augmented generation under knowledge-base degradationcited by 0
- 2026RAGStress: A controlled benchmark for evaluating retrieval-augmented generation under knowledge-base degradation3 Oct 2026
- 2026Is External Database Protection Static in Retrieval-Augmented Generation? Rethinking Privacy Preservation under Dynamic Queries16 Jul 2026
- 2026When RAG Chatbots Expose Their Backend: An Anonymized Case Study of Privacy and Security Risks in Patient-Facing Medical AI1 May 2026
- 2026A Survey on Long-Term Memory Security in LLM Agents: Attacks, Defenses, and Governance Across the Memory Lifecycle17 Apr 2026
Similar, not cited
Close in wording, no citation either way
- 2026Security and Privacy in Retrieval-Augmented Generation: Architectures, Threats, Defenses, and Future Directions for Building Trustworthy Systems
- 2025RAG Security and Privacy: Formalizing the Threat Model and Attack Surface
- 2026RAG-CT: Mitigating Privacy Risks on Retrieval-Augmented Generation Systems via Scanning Prompt Distribution
- 2026Securing Retrieval-Augmented Generation: A Taxonomy of Attacks, Defenses, and Future Directions
- 2026Retrieved But Not Reliable: A Survey on Attacks, and Defenses in Retrieval-Augmented Generation
- 2025Privacy-Aware RAG: Secure and Isolated Knowledge Retrieval
- 2025Securing RAG: A Risk Assessment and Mitigation Framework
- 2024The Good and The Bad: Exploring Privacy Issues in Retrieval-Augmented Generation (RAG)