Skip to content

Stealthy poisoning attacks using reused reasoning KV cachesStealthy Poisoning Attacks via Reused KV Cache of Reasoning

Paper Tracker· arXiv:2610.22873· L. Zhu, Y. Jung, S. SzyllerAalto UniversityIndexed by this site · 2026-10-19· Originally publishedSelected AttacksSelectedAttention38

Translation in progress — untranslated text is omitted.

Quick read

Attacks

Based on the paper PDF (generated by Gemini); refer to the original

AI summaryThe researchers propose R2ECAP, a black-box poisoning attack that can poison a reusable reasoning KV cache through chat interface interaction alone, achieving an attack success rate of up to 79% on three open-weight large models in exact-query cache reuse scenarios. The method designs a pair of trajectories: the first misleading reasoning trajectory R1 steers the model toward the attack target, and the second retained response R2 carries that target; even if R1 and its cache entry are discarded, R2's conditional KV cache retains its influence and affects subsequent queries. On GPQA, MBPP, and BigCode, R2ECAP outperforms the white-box KV cache poisoning attack HijackKV in 8 of 9 resource-constrained settings, with single-sample construction time about 80 times less; attack success rate is 16% to 46% under cross-query cache reuse, and 46% in a real reasoning trajectory retrieval system. Under the commonly used prompt injection detectors tested by the authors, only 1% of retained responses were flagged. The authors also note that the evaluation covers only open-weight models from 7B to 9B, and that defense testing used only one text detector.

Questions
Modern LLM systems reuse the KV cache of reasoning chains of thought to improve performance, but after the preceding reasoning is discarded, the retained response KV cache is still affected by the preceding context. This inconsistency between the retained text and the residual state may introduce a new poisoning attack surface.
Methods
The authors propose the black-box attack R2ECAP. By splitting the attack into a target-guided misleading preceding trajectory and a retained response carrying the target, the conditional KV cache of the retained response solidifies the malicious offset; then, through a multi-round reverse trajectory search algorithm, a complete attack conversation is generated using only chat interaction.
Experiments and results
On 3 open-source LLMs and 3 datasets, ASR under exact-query reuse reaches 46%–79% (Table 1); under cross-query retrieval reuse, ASR is 16%–46% (Table 5); the detection rate of the ProtectAI safety classifier on retained responses is only 1% (Section 5.4).
Limitations and future work
The authors point out that the evaluation covers only open-source LLMs at the 7B–9B parameter scale and does not evaluate models above 30B; the defense evaluation relies only on a single text injection classifier and checks only the retained response. The experiments cover 3 models and 3 benchmarks, and do not report details of the iteration budget or interaction time.
Why it was selectedThe paper presents an attack method that can poison a reused reasoning KV cache using only a chat interface, and measured a 1% detection rate; teams deploying systems that reuse inference caches can use this to assess their own risk.

The paper presents an attack method that can poison a reused reasoning KV cache using only a chat interface, and measured a 1% detection rate; teams deploying systems that reuse inference caches can use this to assess their own risk.

Related papers

Read originalarxiv.org