Hidden in the Metadata: Stealth Poisoning Attacks on Multimodal Retrieval-Augmented Generation
Organizations: The City University of New York, CSI, Staten Island, NY 10314, USA · The City University of New York, Graduate Center, New York, NY 10016, USA
Abstract
Retrieval-augmented generation (RAG) has emerged as a powerful paradigm for enhancing multimodal large language models by grounding their responses in external, factual knowledge and thus mitigating hallucinations. However, the integration of externally sourced knowledge bases introduces a critical attack surface. Adversaries can inject malicious multimodal content capable of influencing both retrieval and downstream generation. In this work, we present MM-MEPA, a multimodal poisoning attack that targets the metadata components of image-text entries while leaving the associated visual content unaltered. By only manipulating the metadata, MM-MEPA can still steer multimodal retrieval and induce attacker-desired model responses. We evaluate the attack across multiple benchmark settings and demonstrate its severity. MM-MEPA achieves an attack success rate of up to 91% consistently disrupting system behaviors across four retrievers and two multimodal generators. Additionally, we assess representative defense strategies and find them largely ineffective against this form of metadata-only poisoning. Our findings expose a critical vulnerability in multimodal RAG and underscore the urgent need for more robust, defense-aware retrieval and knowledge integration methods.
Figures & tables
| Retriever | Generator | ROrig@k | ACC |
|---|---|---|---|
| MMQA ( ) | |||
| CLIP | BLIP-2 | 0.965 | 0.448 |
| CLIP | LLaVA | 0.965 | 0.596 |
| FLAVA | BLIP-2 | 0.691 | 0.378 |
| FLAVA | LLaVA | 0.691 | 0.478 |
| OpenCLIP | BLIP-2 | 0.978 | 0.448 |
| Retriever | Generator | ROrig@k | RPois@k | ACC | ASR |
|---|---|---|---|---|---|
| MMQA (k=1) | |||||
| CLIP | BLIP-2 | 0.574 0.39 | 0.404 | 0.313 0.135 | 0.500 |
| CLIP | LLaVA | 0.574 0.39 | 0.404 | 0.413 0.183 | 0.401 |
| FLAVA | BLIP-2 | 0.443 0.25 | 0.383 | 0.261 0.117 | 0.480 |
| FLAVA | LLaVA | 0.443 0.25 | 0.383 | 0.343 0.135 | 0.366 |
| OpenCLIP | BLIP-2 | 0.557 0.42 | 0.435 | 0.291 0.157 | 0.530 |
| Retriever | Generator | ROrig@k | RPois@k | ACC | ASR |
|---|---|---|---|---|---|
| MMQA (k=1, Paraphrased Queries) | |||||
| CLIP | BLIP-2 | 0.565 0.40 | 0.409 | 0.274 0.174 | 0.485 |
| CLIP | LLaVA | 0.565 0.40 | 0.409 | 0.391 0.205 | 0.376 |
| FLAVA | BLIP-2 | 0.426 0.26 | 0.387 | 0.226 0.152 | 0.485 |
| FLAVA | LLaVA | 0.426 0.26 | 0.387 | 0.322 0.156 | 0.361 |
| OpenCLIP | BLIP-2 | 0.561 0.41 | 0.430 | 0.265 0.183 | 0.500 |
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
RAG Poisoning Attacks
Retrieval-augmented generation (RAG) poisoning attacks manipulate retrieved knowledge to steer, degrade, or disrupt model outputs.
See all 70 papers