mlsanityData to 14 Oct 2026

UniC-RAG: Universal Knowledge Corruption Attacks to Retrieval-Augmented Generation

arXiv 2508.18652 ↗First posted 26 Aug 2025cs.CR cs.CLcited by 3

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

Abstract (arXiv)

Retrieval-augmented generation (RAG) systems are widely deployed in real-world applications in diverse domains such as finance, healthcare, and cybersecurity. However, many studies showed that they are vulnerable to knowledge corruption attacks, where an attacker can inject adversarial texts into the knowledge database of a RAG system to induce the LLM to generate attacker-desired outputs. Existing studies mainly focus on attacking specific queries or queries with similar topics (or keywords). In this work, we propose UniC-RAG, a universal knowledge corruption attack against RAG systems. Unlike prior work, UniC-RAG jointly optimizes a small number of adversarial texts that can simultaneously attack a large number of user queries with diverse topics and domains, enabling an attacker to achieve various malicious objectives, such as directing users to malicious websites, triggering harmful command execution, or launching denial-of-service attacks. We formulate UniC-RAG as an optimization problem and further design an effective solution to solve it, including a balanced similarity-based clustering method to enhance the attack's effectiveness. Our extensive evaluations demonstrate that UniC-RAG is highly effective and significantly outperforms baselines. For instance, UniC-RAG could achieve over 90% attack success rate by injecting 100 adversarial texts into a knowledge database with millions of texts to simultaneously attack a large set of user queries (e.g., 2,000). Additionally, we evaluate existing defenses and show that they are insufficient to defend against UniC-RAG, highlighting the need for new defense mechanisms in RAG systems.

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 56 of its 79 references that are in the map. First posted on arXiv 26 Aug 2025.

Builds on

56 of 79 references.

Closest ancestors · 15

Same direction, newest first

  1. 2025CPA-RAG:Covert Poisoning Attacks on Retrieval-Augmented Generation in Large Language Models26 May
  2. 2025The Silent Saboteur: Imperceptible Adversarial Attacks against Black-Box Retrieval-Augmented Generation Systems24 May
  3. 2025Practical Poisoning Attacks against Retrieval-Augmented Generation4 Apr
  4. 2025Poisoned-MRAG: Knowledge Poisoning Attacks to Multimodal Retrieval Augmented Generation8 Mar
  5. 2025Topic-FlipRAG: Topic-Orientated Adversarial Opinion Manipulation Attacks to Retrieval-Augmented Generation Models3 Feb
  6. 2025GraphRAG under Fire23 Jan
  7. 2025FlippedRAG: Black-Box Opinion Manipulation Adversarial Attacks to Retrieval-Augmented Generation Models6 Jan
  8. 2024GASLITEing the Retrieval: Exploring Vulnerabilities in Dense Embedding-based Search30 Dec
  9. 2024"Glue pizza and eat rocks" -- Exploiting Vulnerabilities in Retrieval-Augmented Generative Models26 Jun
  10. 2024Machine Against the RAG: Jamming Retrieval-Augmented Generation with Blocker Documents9 Jun
  11. 2024BadRAG: Identifying Vulnerabilities in Retrieval Augmented Generation of Large Language Models3 Jun
  12. 2024Phantom: General Backdoor Attacks on Retrieval Augmented Language Generation30 May
3 more
  1. 2024Certifiably Robust RAG against Retrieval Corruption24 May
  2. 2024TrojanRAG: Retrieval-Augmented Generation Can Be Backdoor Driver in Large Language Models22 May
  3. 2024Typos that Broke the RAG's Back: Genetic Attack on RAG Pipeline by Simulating Documents in the Wild via Low-level Perturbations22 Apr

Other references · 41

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  4. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  5. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  6. 2024GPT-4o System Cardcited by 4,588
  7. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  8. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  9. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  10. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
  11. 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,839
  12. 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,605
29 more
  1. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,443
  2. 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,252
  3. 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,216
  4. 2020Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrievalcited by 849
  5. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 832
  6. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 785
  7. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 671
  8. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
  9. 2023Prompt Injection attack against LLM-integrated Applicationscited by 605
  10. 2024Executable Code Actions Elicit Better LLM Agentscited by 564
  11. 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 491
  12. 2023Catastrophic Jailbreak of Open-source LLMs via Exploiting Generationcited by 451
  13. 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Basescited by 429
  14. 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 381
  15. 2023Formalizing and Benchmarking Prompt Injection Attacks and Defensescited by 364
  16. 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 345
  17. 2023Poisoning Web-Scale Training Datasets is Practicalcited by 290
  18. 2024Corrective Retrieval Augmented Generationcited by 197
  19. 2023Poisoning Retrieval Corpora by Injecting Adversarial Passagescited by 159
  20. 2024Automatic and Universal Prompt Injection Attacks against Large Language Modelscited by 119
  21. 2024InstructRAG: Instructing Retrieval-Augmented Generation via Self-Synthesized Rationalescited by 101
  22. 2024Neural Exec: Learning (and Learning from) Execution Triggers for Prompt Injection Attackscited by 85
  23. 2023BOLAA: Benchmarking and Orchestrating LLM-augmented Autonomous Agentscited by 84
  24. 2024Improving Retrieval for RAG based Question Answering Models on Financial Documentscited by 49
  25. 2023Making LLMs Worth Every Penny: Resource-Limited Text Classification in Bankingcited by 37
  26. 2024The Chronicles of RAG: The Retriever, the Chunk and the Generatorcited by 34
  27. 2023QASiNa: Religious Domain Question Answering using Sirah Nabawiyahcited by 15
  28. 2021AutoLAW: Augmented Legal Reasoning through Legal Precedent Predictioncited by 14
  29. 2024Introducing a new hyper-parameter for RAG: Context Window Utilizationcited by 8

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. 2025Rescuing the Unpoisoned: Efficient Defense against Knowledge Corruption Attacks on RAG Systems
  2. 2025RAG Safety: Exploring Knowledge Poisoning Attacks to Retrieval-Augmented Generation
  3. 2024PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models
  4. 2024On the Vulnerability of Applying Retrieval-Augmented Generation within Knowledge-Intensive Application Domains
  5. 2026Towards Secure Retrieval-Augmented Generation: A Comprehensive Review of Threats, Defenses and Benchmarks
  6. 2026Benchmarking Knowledge-Extraction Attack and Defense on Retrieval-Augmented Generation
  7. 2025Token-Level Precise Attack on RAG: Searching for the Best Alternatives to Mislead Generation
  8. 2025One Shot Dominance: Knowledge Poisoning Attack on Retrieval-Augmented Generation Systems