Retrieval-Augmented Generation (RAG) systems extend large language models (LLMs) with external knowledge sources but introduce new attack surfaces through the retrieval pipeline. In particular, adversaries can poison retrieval corpora so that malicious documents are preferentially retrieved at inference time, enabling targeted manipulation of model outputs. We study gradient-guided corpus poisoning attacks against modern RAG pipelines and evaluate retrieval-layer defenses that require no modification to the underlying LLM.
We implement dual-document poisoning attacks consisting of a sleeper document and a trigger document optimized using Greedy Coordinate Gradient (GCG). In a large-scale evaluation on the Security Stack Exchange corpus (67,941 documents) with 50 attack attempts, gradient-guided poisoning achieves a 38.0 percent co-retrieval rate under pure vector retrieval.
We show that a simple architectural modification, hybrid retrieval combining BM25 and vector similarity, substantially mitigates this attack. Across all 50 attacks, hybrid retrieval reduces gradient-guided attack success from 38 percent to 0 percent without modifying the model or retraining the retriever. When attackers jointly optimize payloads for both sparse and dense retrieval signals, hybrid retrieval can be partially circumvented, achieving 20-44 percent success, but still significantly raises attack difficulty relative to vector-only retrieval.
Evaluation across five LLM families (GPT-5.3, GPT-4o, Claude Sonnet 4.6, Llama 4, and GPT-4o-mini) shows attack success ranging from 46.7 percent to 93.3 percent. Cross-corpus evaluation on the FEVER Wikipedia dataset (25 attacks) yields 0 percent attack success across all retrieval configurations.
One Shot Dominance: Knowledge Poisoning Attack on Retrieval-Augmented Generation Systems
State Key Laboratory of Intelligent Game(智能游戏国家重点实验室);Science and Technology on Integrated Information System Laboratory, Institute of Software Chinese Academy of Sciences(中国科学院软件研究所综合信息系统技术国家级重点实验室);University of Chinese Academy of Sciences(中国科学院大学);Nanyang Technological University(南洋理工大学)
ProGRank: Probe-Gradient Reranking to Defend Dense-Retriever RAG from Corpus Poisoning
Chalmers University of Technology, Sweden(瑞典查尔姆斯理工大学);University of Leeds, United Kingdom(英国利兹大学);Carl von Ossietzky University of Oldenburg, Germany(德国奥尔登堡卡尔·冯·奥西特齐大学)
RevPRAG: Revealing Poisoning Attacks in Retrieval-Augmented Generation through LLM Activation Analysis
School of Computer Science, Fudan University(复旦大学计算机科学学院);Department of Computer Science, Worcester Polytechnic Institute(沃思堡理工学院计算机科学系);Institute of Big Data, Fudan University(复旦大学大数据研究院)
Knowledge Poisoning Attacks on Medical Multi-Modal Retrieval-Augmented Generation
Tsinghua University(清华大学);Beijing University of Posts and Telecommunications(北京邮电大学);Northwestern Polytechnical University(西北工业大学);ETH Zurich(苏黎世联邦理工学院)
Hidden in the Metadata: Stealth Poisoning Attacks on Multimodal Retrieval-Augmented Generation
The City University of New York, CSI, Staten Island, NY 10314, USA(纽约城市大学,CSI,史泰登岛分校);The City University of New York, Graduate Center, New York, NY 10016, USA(纽约城市大学研究生中心)
PURPOSE: Poisoning Conflict Resolution in RAG via Proxy-Fact-Grounded Updates
School of Computer Science, Nanjing University(南京大学计算机科学学院);State Key Laboratory for Novel Software Technology, Nanjing University(南京大学计算机软件新技术国家重点实验室)
Cordon-MAS: Defending RAG against Knowledge Poisoning via Information-Flow Control
Zhejiang University(浙江大学);Binjiang Institute of Zhejiang University(浙江大学滨江研究院);Shanghai Jiao Tong University(上海交通大学);Zhejiang Lab(浙江实验室);Harbin Institute of Technology(哈尔滨工业大学);Hangzhou Dianzi University(杭州电子科技大学)
When Poison Fails After Retrieval: Revisiting Corpus Poisoning under Chunking and Reranking Pipelines
School of Computer Science, Shandong University(山东大学计算机学院);School of Information, Shandong University(山东大学信息学院);School of Software Engineering, Shandong University(山东大学软件学院)
Bias Amplification in RAG: Poisoning Knowledge Retrieval to Steer LLMs
Faculty of Data Science, City University of Macau(数据科学学院,澳门城市大学);Key Laboratory of Computing Power Network and Information Security, Ministry of Education, Shandong Computer Science Center, Qilu University of Technology (Shandong Academy of Sciences)(计算能力网络与信息安全重点实验室,教育部,山东计算机科学中心,齐鲁工业大学(山东科学院));Shandong Provincial Key Laboratory of Computing Power Internet and Service Computing, Shandong Fundamental Research Center for Computer Science(山东省计算能力互联网与服务计算重点实验室,山东省计算机科学基础研究中心)
EcoSafeRAG: Efficient Security through Context Analysis in Retrieval-Augmented Generation
Institute of Information Engineering, Chinese Academy of Sciences(信息工程研究所,中国科学院);School of Cybersecurity, University of Chinese Academy of Sciences(网络安全学院,中国科学院大学);State Key Laboratory of Cyberspace Security Defense(网络空间安全防御国家重点实验室)
SeCon-RAG: A Two-Stage Semantic Filtering and Conflict-Free Framework for Trustworthy RAG
Institute of Software Chinese Academy of Sciences Beijing China(中国科学院软件研究所);Key Laboratory of System Software (Chinese Academy of Sciences) and State Key Laboratory of Computer Science, Institute of Software, Chinese Academy of Sciences, Beijing, China(中国科学院系统软件重点实验室和计算机科学国家重点实验室);University of Chinese Academy of Sciences, Beijing, China(中国科学院大学);Northeast University China(东北大学);Institute of Ai For industries Nanjing China(人工智能产业研究院);Southwest University China(西南大学);Nanyang Technological University Singapore(新加坡南洋理工大学);Alibaba China(阿里巴巴(中国))
RAG Safety: Exploring Knowledge Poisoning Attacks to Retrieval-Augmented Generation
School of Computer Science and Technology,Xi'an Jiaotong University(西安交通大学计算机科学与技术学院);Department of Computer Science, The University of Manchester(曼彻斯特大学计算机科学系);School of Computer Science and Engineering, Southeast University(东南大学计算机科学与工程学院);National University of Singapore(新加坡国立大学)
On the Vulnerability of Applying Retrieval-Augmented Generation within Knowledge-Intensive Application Domains
Department of ECE University of Minnesota(电子工程系明尼苏达大学);Data Science Institute University of Chicago(数据科学研究所芝加哥大学);Carlson School of Management University of Minnesota(卡尔森管理学院明尼苏达大学);Department of Surgery University of Minnesota(外科系明尼苏达大学);Cisco Research(思科研究);School of Statistics University of Minnesota(统计学学院明尼苏达大学)
Rethinking Software-Defined Networking Link Discovery with Dynamic Randomization
University of Texas at Dallas(德克萨斯大学达拉斯分校);IBM Research(IBM 研究院);Georgetown University(乔治城大学);The Pennsylvania State University(宾夕法尼亚州立大学);University of California, Riverside(加利福尼亚大学河滨分校)