MITRE ATLAS 2026.10 · AML.T0070 · Critical severity
RAG Poisoning
RAG poisoning inserts malicious or factually corrupted documents into the vector database or knowledge store queried during retrieval-augmented generation. Because retrieved passages sit inside high-attention context slots, poisoned records reliably steer answers or inject instructions across all users querying that topic.
Technique dossier overview
- Category
- Prompt and context integrity
- Severity
- Critical
- Attack surface
- RAG & Retrieval · Training & Fine-Tuning
- Framework maturity
- Demonstrated
- Platforms
- Generative AI, Agentic AI
- Tactics
- Persistence
- Aliases
- RAG poisoning, Retrieval-source integrity
- Catalog entry modified
- Earliest cited research
- · PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models · arXiv (author preprint; peer-review status not inferred)
How the mechanism works
- An attacker gains write capability to an indexed source (shared wiki, public ticket intake, external feed, or vector store API) and uploads crafted records.
- Documents are engineered to achieve top-k semantic similarity for high-value queries while carrying fabricated facts or hidden directives.
- When any legitimate user queries the topic, the retriever surfaces the poisoned chunks and the LLM synthesizes a compromised answer.
Detection & telemetry signals
- Sudden ingestion of external or low-trust documents achieving unusually high retrieval rank across unrelated queries.
- Semantic drift or abrupt fact reversals on golden QA test sets immediately after vector-index updates.
- Input/retrieval scanners detecting embedded prompt-injection language inside indexed knowledge chunks.
Architectural defensive countermeasures
- Enforce strict ingestion authorization, document-level ACLs, and cryptographic source provenance before indexing content into vector stores.
- Quarantine and scan untrusted or externally submitted documents for embedded instructions and anomalous semantic optimization.
- Partition vector indexes by tenant and trust level so untrusted external content never mixes silently with authoritative internal knowledge.
- Track document revision hashes and verify answer grounding independently rather than treating citations as proof of truth.
Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)
- OWASP LLM Top 10 (2025)
- OWASP rationale
- RAG poisoning exploits retrieval index weaknesses (LLM08) to corrupt the runtime knowledge corpus (LLM04) and frequently delivers indirect prompt injections (LLM01).
- NIST AI RMF functions
- NIST AI RMF guidance
- MAP write permissions and trust boundaries on every RAG ingestion pipeline, MEASURE retrieval poisoning susceptibility on critical queries, and MANAGE index integrity with provenance, ACLs, and quarantine scanning.
Mapped defensive controls
- Sanitize Training Data AML.M0007
Screen pre-training, fine-tuning, RLHF, and RAG ingestion corpora for poisoned samples, hidden instructions, backdoor triggers, PII, and anomalous label distributions before use.
- Generative AI Guardrails AML.M0020
Deploy layered input and output classifiers, constitutional/topic rails, and structural validators with measured benign over-refusal rates—never relying on classifiers as the sole authorization boundary.
- Maintain AI Dataset Provenance AML.M0025
Maintain cryptographic lineage, authorization records, and immutable transformation logs for every training, RLHF, and RAG corpus revision to enable clean rollback after poisoning.
- AI Red Team AML.M0035
Conduct authorized, isolated manual and automated adversarial testing across models, RAG pipelines, and agents—tracking reproducible breach rates, Wilson confidence intervals, and patch verification.
Test with Refract
Refract is Silvauren's Apache-2.0 defensive LLM evaluation harness. Its 2x2 Detect-vs-Complete matrix crosses whether a detector flagged each probe with whether the model complied, so silent breaches are counted with Wilson 95% confidence intervals. Replace <model-id> with an OpenRouter route ID; each model page lists a ready-to-run command for its own route.
refract scan \
--target "openai_compat:<model-id>" \
--base-url https://openrouter.ai/api/v1 \
--api-key "$OPENROUTER_API_KEY" \
--battery rag_indirect_injection
refract reportrag_indirect_injectioninstructions embedded in retrieved tickets, emails, wikis, and other RAG documents
Export OPENROUTER_API_KEY first. Passing --api-key keeps Refract from using an unrelated OPENAI_API_KEY, which it would otherwise read first. Scans send real requests billed to your key. Add --max-probes or --budget-tokens to cap spend, and only scan endpoints you are authorized to test.
Published empirical measurements (9)
- Attack success rate · 97%
Assumes adversary can insert 5 crafted documents into the indexed knowledge base; Knowledge Expansion k=50 incurs substantial context latency. Earlier catalog numerator 97/100 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- GPT-4
- Evaluation
- PoisonedRAG — Natural Questions (2.68M corpus)
- Defense
- Baseline model
- Reported
- Sample
- 100
- Source and location
- PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models · arXiv (author preprint; peer-review status not inferred) · Main Evaluation & Defense Tables (10 trials x 10 target questions = 100)
- Evidence provenance
- Primary-source checked
- Attack success rate · 97%
Assumes adversary can insert 5 crafted documents into the indexed knowledge base; Knowledge Expansion k=50 incurs substantial context latency. Earlier catalog numerator 97/100 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- PaLM 2
- Evaluation
- PoisonedRAG — Natural Questions (2.68M corpus)
- Defense
- Baseline model
- Reported
- Sample
- 100
- Source and location
- PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models · arXiv (author preprint; peer-review status not inferred) · Main Evaluation & Defense Tables (10 trials x 10 target questions = 100)
- Evidence provenance
- Primary-source checked
- Attack success rate · 99%
Assumes adversary can insert 5 crafted documents into the indexed knowledge base; Knowledge Expansion k=50 incurs substantial context latency. Earlier catalog numerator 99/100 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- PaLM 2
- Evaluation
- PoisonedRAG — HotpotQA (5.23M corpus)
- Defense
- Baseline model
- Reported
- Sample
- 100
- Source and location
- PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models · arXiv (author preprint; peer-review status not inferred) · Main Evaluation & Defense Tables (10 trials x 10 target questions = 100)
- Evidence provenance
- Primary-source checked
- Attack success rate · 91%
Assumes adversary can insert 5 crafted documents into the indexed knowledge base; Knowledge Expansion k=50 incurs substantial context latency. Earlier catalog numerator 91/100 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- PaLM 2
- Evaluation
- PoisonedRAG — MS-MARCO (8.84M corpus)
- Defense
- Baseline model
- Reported
- Sample
- 100
- Source and location
- PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models · arXiv (author preprint; peer-review status not inferred) · Main Evaluation & Defense Tables (10 trials x 10 target questions = 100)
- Evidence provenance
- Primary-source checked
- Attack success rate · 87%
Assumes adversary can insert 5 crafted documents into the indexed knowledge base; Knowledge Expansion k=50 incurs substantial context latency. Earlier catalog numerator 87/100 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- GPT-4
- Evaluation
- PoisonedRAG — Natural Questions (2.68M corpus)
- Defense
- System-prompt hierarchy
- Reported
- Sample
- 100
- Source and location
- PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models · arXiv (author preprint; peer-review status not inferred) · Main Evaluation & Defense Tables (10 trials x 10 target questions = 100)
- Evidence provenance
- Primary-source checked
- Attack success rate · 93%
Assumes adversary can insert 5 crafted documents into the indexed knowledge base; Knowledge Expansion k=50 incurs substantial context latency. Earlier catalog numerator 93/100 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- GPT-4
- Evaluation
- PoisonedRAG — HotpotQA (5.23M corpus)
- Defense
- System-prompt hierarchy
- Reported
- Sample
- 100
- Source and location
- PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models · arXiv (author preprint; peer-review status not inferred) · Main Evaluation & Defense Tables (10 trials x 10 target questions = 100)
- Evidence provenance
- Primary-source checked
- Attack success rate · 57%
Deployed injection classifiers score hazard reviews as benign; corroboration efficacy measured against non-adaptive attacker.
- Model
- 6-LLM Agent Panel (Voluntary Servitude Study)
- Evaluation
- Voluntary Servitude Multi-Domain Agent Steering Benchmark
- Defense
- Baseline model
- Reported
- Source and location
- Voluntary Servitude: Weaponized Safety Warning Mechanisms for Controlling AI Agents · arXiv (author preprint; peer-review status not inferred) · Abstract / Generation and Retrieval Pipeline Results
- Evidence provenance
- Primary-source checked
- Attack success rate · 51.29%
Requires write access to 0.05% of the RACG knowledge base and backdoor training of the retriever component.
- Model
- Backdoored Code Retriever (VenomRACG)
- Evaluation
- VenomRACG Retrieval-Augmented Code Generation Suite
- Defense
- Baseline model
- Reported
- Source and location
- Exploring the Security Threats of Retriever Backdoors in Retrieval-Augmented Code Generation · arXiv (author preprint; peer-review status not inferred) · Abstract / Main Retrieval Results
- Evidence provenance
- Primary-source checked
- Attack success rate · 40%
Abstract reports lower bound ('over 40%'); exact scenario count is not printed in abstract.
- Model
- GPT-4o (with VenomRACG retriever)
- Evaluation
- VenomRACG Downstream Vulnerable Code Generation
- Defense
- Baseline model
- Reported
- Source and location
- Exploring the Security Threats of Retriever Backdoors in Retrieval-Augmented Code Generation · arXiv (author preprint; peer-review status not inferred) · Abstract / Downstream Generation Impact
- Evidence provenance
- Primary-source checked
Documented incidents & exercises (21)
- Morris II Worm: RAG-Based Attack AML.CS0024 · Exercise · Mar 5, 2024 · High
MITRE ATLAS case study demonstrating an adversarial self-replicating prompt embedded in inbound email that propagated across connected RAG assistants and exfiltrated user messages.
- Financial Transaction Hijacking with M365 Copilot as an Insider AML.CS0026 · Exercise · Aug 8, 2024 · Critical · Enterprise Productivity & Finance
Presented at Black Hat USA 2024 ("Living off Microsoft Copilot"), researchers showed how sending a crafted email containing hidden indirect prompt-injection payloads could poison Microsoft 365 Copilot's retrieval context. When an employee queried Copilot about invoices or bank…
- Data Exfiltration from Slack AI via Indirect Prompt Injection AML.CS0035 · Exercise · Aug 20, 2024 · High · Enterprise Collaboration & SaaS
Disclosed by PromptArmor in August 2024 ("Data Exfiltration from Slack AI via indirect prompt injection"), this exercise showed that an attacker with access to a single public channel could plant a crafted message containing indirect prompt-injection instructions. When another…
- EchoLeak: Zero-Click Prompt Injection Targeting M365 Copilot for Data Exfiltration AML.CS0059 · Exercise · May 2025 · Moderate
ATLAS case study: EchoLeak zero-click prompt injection exfiltrated data from M365 Copilot via trusted context.
- LangChain VectorSQLDatabaseChain RCE via Unsanitized Retrieved Field Eval INC-2024-21513 · Incident · Jul 15, 2024 · High · Enterprise Data & Analytics
CVE-2024-21513 revealed arbitrary Python code execution in LangChain Experimental's `VectorSQLDatabaseChain` when handling database fields returned during query resolution. Instead of treating retrieved database strings as inert data, the chain passed column values directly…
- Qdrant Vector Database Snapshot Upload Arbitrary File Write Path Traversal INC-2024-2221 · Incident · Apr 10, 2024 · Critical · Enterprise Data & Analytics
CVE-2024-2221 uncovered a path traversal and arbitrary file upload vulnerability in Qdrant (`< v1.9.0`) via its snapshot upload endpoint `/collections/{collection}/snapshots/upload`. URL-encoded traversal sequences inside snapshot parameters bypassed path validation, enabling…
- ChromaDB Multi-Tenant Authorization Bypass Enabling Cross-Tenant Vector Access INC-2026-45830 · Incident · Jun 12, 2026 · High · Enterprise Data & Analytics
CVE-2026-45830 disclosed a multi-tenant authorization bypass in ChromaDB allowing an authenticated user in one tenant to access, modify, or delete vector collections owned by other tenants. Missing server-side tenant ownership verification on collection routes enabled…
- Slack AI Private Channel Data Exfiltration via Indirect Prompt Injection in Public Messages INC-OBS-047 · Incident · Aug 20, 2024 · High · Enterprise SaaS & Productivity
Disclosed by PromptArmor and patched by Slack on August 20, 2024, an indirect prompt injection vulnerability in Slack AI allowed an attacker in a public workspace channel (or an external Slack Connect guest) to steal sensitive data from private channels they could not access.…
- Google AI Overviews Recommending Glue on Pizza and Eating Rocks From Satirical Web Data INC-OBS-054 · Incident · May 30, 2024 · High · Consumer AI & Local Runtimes
Following Google's May 2024 US rollout of AI Overviews at the top of search results, users rapidly surfaced hazardous and absurd recommendations including adding non-toxic glue to pizza sauce to keep cheese from sliding off, eating at least one small rock per day for minerals,…
- Sports Illustrated Publisher Scandal Over AI-Generated Fake Author Personas INC-OBS-077 · Incident · Nov 27, 2023 · Elevated · Media & Publishing
On November 27, 2023, Futurism revealed that Sports Illustrated had published product-review articles attributed to fabricated journalists complete with AI-generated headshots purchased from a stock-avatar marketplace and fictional biographies. When reporters questioned the…
- ByteDance Insider Intern Malicious Code Sabotage in Commercial AI Training Project INC-OBS-095 · Incident · Oct 19, 2024 · High · Enterprise AI Infrastructure
On October 19, 2024, ByteDance confirmed that it had terminated an intern in August 2024 after discovering malicious code injected to sabotage model-training jobs inside its commercial technology research team. Reports indicated that the intern planted covert tampering logic…
- Neural Exec Differentiable Prompt-Injection Trigger Study OBS.EX0029 · Exercise · Mar 6, 2024 · Open-Weight LLMs & RAG Pipelines · Learned Execution Triggers
Pasquini et al. (2024) framed prompt injection delimiter construction as a differentiable optimization problem (Neural Exec) rather than relying on hand-written override phrases. Learned triggers persisted intact across multi-stage RAG preprocessing and chunking pipelines while…
- PoisonedRAG Knowledge Corruption Across Millions-Scale Corpora OBS.EX0042 · Exercise · Feb 12, 2024 · Dense-Retrieval RAG Pipelines · Black-Box & White-Box Corpus Poisoning
Zou et al. (2024) formalized knowledge corruption attacks against Retrieval-Augmented Generation (PoisonedRAG), formulating poisoned document crafting as a joint retrieval-and-generation optimization objective under both black-box and white-box threat models. Injecting just…
- AgentPoison Constrained Memory & Knowledge-Base Backdoor Study OBS.EX0043 · Exercise · Jul 17, 2024 · RAG & Long-Term Memory LLM Agents · Autonomous Driving, QA & Healthcare EHRAgent
Chen et al. (2024) evaluated AgentPoison, a training-free red-teaming method that maps compact trigger tokens into isolated regions of the retriever embedding space to poison long-term agent memory and RAG stores. Evaluated on RAG-based autonomous driving agents,…
- BadRAG Triggered Knowledge-Base Poisoning & DoS Evaluation OBS.EX0051 · Exercise · Jun 3, 2024 · Dense-Retrieval RAG Systems · 10-Passage Trigger Injection (0.04% Corpus)
Xue et al. (2024) evaluated BadRAG, a two-phase corpus poisoning methodology targeting RAG systems indexed over open or user-writable repositories to trigger targeted responses, denial of service, sentiment skew, context leakage, or tool misuse on chosen query keywords.…
- Phantom Triggered RAG Backdoor Evaluation on Open & Production Systems OBS.EX0052 · Exercise · May 30, 2024 · Gemma, Vicuna, Llama, GPT-3.5/4 & NVIDIA Chat with RTX · Single-Document Backdoor
Chaudhari et al. (2024) evaluated Phantom, a two-stage optimization attack crafting a single poisoned document that activates only when naturally occurring trigger tokens appear in victim queries to induce refusal, reputation harm, privacy leaks, or unsafe output. Attacks…
- XAMT Bilevel Covert Memory Tampering in Heterogeneous Multi-Agent Systems OBS.EX0070 · Exercise · Dec 15, 2025 · CTDE MARL (SMAC) & RAG LLM Agents (SafeRAG) · Sub-Percent Memory Poisoning
Sharma et al. (2025) formulated covert tampering of shared agent memory, spanning Experience Replay buffers in Multi-Agent Reinforcement Learning (MARL) and external Knowledge Bases in RAG agents, as a bilevel optimization framework (XAMT). Evaluated on SMAC and SafeRAG at…
- Voluntary Servitude Weaponized Safety Warnings Against Agents OBS.EX0073 · Exercise · Nov 3, 2026 · 6 LLMs, 10 Consumer Domains, Production Browser Agents & RAG Pipelines
Zendel et al. (2026) evaluated "voluntary servitude" attacks where adversaries plant fabricated safety or hazard warnings inside ordinary public reviews so an agent’s own harm-avoidance heuristics disqualify competing choices without any explicit command syntax. Across six…
- VenomRACG Stealthy Retriever Backdoors in Retrieval-Augmented Code Generation OBS.EX0158 · Exercise · Dec 25, 2025 · RACG Coding Pipelines (incl. GPT-4o) · 0.05% Knowledge-Base Poisoning
Li et al. (2025) conducted the first systematic security evaluation of retriever backdoors in Retrieval-Augmented Code Generation (RACG) via VenomRACG, crafting poisoned code snippets statistically indistinguishable from clean samples across latent-space and token-level…
- SIREN Competitive Rank Manipulation in Production Web-RAG Recommenders OBS.EX0214 · Exercise · Jul 24, 2026 · 2 Production Claude Models · Controlled Live-Web Replay Across 23 Poisoning Techniques
Caville et al. (2026) built SIREN, adapting the PAIR attacker-judge loop to edit retrieved webpages across a taxonomy of 23 content-poisoning techniques inside a fixed-source replay harness testing two production Claude models as web-RAG recommenders. SIREN promoted targeted…
- OWASP GenAI Red Teaming Guide & Application Security Exercise Methodology OBS.EX0234 · Exercise · Jan 22, 2025 · Model, Implementation, Infrastructure & Runtime Layers · Risk-Based Red Teaming
The OWASP GenAI Security Project (January 2025) published the GenAI Red Teaming Guide to operationalize structured security exercises across four distinct layers: base model behavior, application/RAG implementation, hosting infrastructure, and runtime agent interactions.…
Source citation records
- MITRE ATLAS: RAG Poisoning · MITRE ·
- PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models · arXiv (author preprint; peer-review status not inferred) ·
- Voluntary Servitude: Weaponized Safety Warning Mechanisms for Controlling AI Agents · arXiv (author preprint; peer-review status not inferred) ·
- Exploring the Security Threats of Retriever Backdoors in Retrieval-Augmented Code Generation · arXiv (author preprint; peer-review status not inferred) ·
Common questions
- What is RAG Poisoning (AML.T0070)?
- RAG poisoning inserts malicious or factually corrupted documents into the vector database or knowledge store queried during retrieval-augmented generation. Because retrieved passages sit inside high-attention context slots, poisoned records reliably steer answers or inject instructions across all users querying that topic.
- How do you mitigate RAG Poisoning?
- MITRE ATLAS maps 4 mitigations to AML.T0070: Sanitize Training Data, Generative AI Guardrails, Maintain AI Dataset Provenance, and AI Red Team. Enforce strict ingestion authorization, document-level ACLs, and cryptographic source provenance before indexing content into vector stores.
- How can I test a model for RAG Poisoning?
- Run the Refract
rag_indirect_injectionpack:refract scan --target "openai_compat:<model-id>" --base-url https://openrouter.ai/api/v1 --api-key "$OPENROUTER_API_KEY" --battery rag_indirect_injection, then refract report. Scans send real requests billed to your key. Add --max-probes or --budget-tokens to cap spend, and only scan endpoints you are authorized to test. - What recent research covers RAG Poisoning?
- 7 research briefs map to AML.T0070. The most recent is Orbit AI: Evaluating Tool-Augmented Agents For Enterprise Question Answering ().