CPA-RAG:Covert Poisoning Attacks on Retrieval-Augmented Generation in Large Language Models
Retrieval Augmented Generation (RAG) enhances large language models (LLMs) by integrating external knowledge, but its open architecture exposes it to covert poisoning attacks. However, existing attacks often treat retrievability and textual naturalness as separate objectives, making them vulnerable to basic surface-level defenses. To address this limitation, we formalize a practical gray-box threat model and propose CPA-RAG, a framework that coordinates three attack conditions, retrievability, deceptiveness, and concealment, through iterative generation, rewriting, evaluation, and pruning. Using shadow retriever feedback to guide multi-model generation and iterative refinement, CPA-RAG maintains high concealment while effectively manipulating the retrieval and generation pipeline. Our evaluation demonstrates that CPA-RAG achieves an average attack success rate of 0.89 across three benchmark datasets and eight diverse LLMs. Under combined defense scenarios, it outperforms state-of-the-art black-box baselines by 14.5 percentage points. Furthermore, simulation experiments on commercial platforms confirm that CPA-RAG can affect generated outputs in these platform-level settings, with success rates between 91\% and 97\%. In accordance with ethical research practices, we have disclosed our findings to all affected LLM vendors. These results highlight the urgent need for more robust RAG-specific defenses.