Skip to main content
LLM Security Database
Skip to research details
Back to research findings
LMVD-ID: e5c89e2f
Paper published February 1, 2026
Entry analyzed March 8, 2026
Paper-reported evidence
Confidence: Source-linked

The LMVD-ID is an internal research identifier, not an official CVE identifier.

Query-Agnostic Retrieval Poisoning

A vulnerability in Large Language Model-based Retrieval (LLMR) systems allows attackers to intentionally hide specific documents from being retrieved (e.g., in RAG pipelines or search engines) by appending a small…

BibTeX citation

Paper-evaluated models(2)

  • Mistral 7B
  • Qwen 2.5 7B

Description

A vulnerability in Large Language Model-based Retrieval (LLMR) systems allows attackers to intentionally hide specific documents from being retrieved (e.g., in RAG pipelines or search engines) by appending a small number of adversarially crafted, query-agnostic tokens. The attack operates in a complete black-box setting: it requires no knowledge of the victim's queries, the target retrieval model's parameters, or the underlying document corpus. By utilizing Document-Query Adversarial (DQ-A) learning on the word-embedding layer of a zero-shot surrogate model, the injected tokens artificially shift the targeted document's embedding representation outside of its inherent topic cluster. This makes the document effectively invisible to downstream similarity matching functions across a wide range of disparate LLM embedding models.

Examples

See the dataset and experimental code repository at https://github.com/JetRichardLee/DQA-Learning (opens in a new tab) for specific transferable adversarial token suffixes generated via DQ-A Learning.

Impact

An unprivileged attacker with read/edit access to a knowledge base (e.g., a Wikipedia contributor, forum commenter) can stealthily manipulate documents to censor information, suppress competitor products in recommendation systems, or degrade the integrity of RAG applications by intentionally absenting critical context. The attack achieves a significant reduction in retrieval metrics, causing up to an 8% absolute drop (roughly 20-30% relative drop) in Recall@50 on high-performing embedding models.

Affected Systems

LLM-based Retrieval (LLMR), Dense Information Retrievers (IR), and Agent Memory Retrieval systems utilizing standard transformer-based embedding models. The attack demonstrates zero-shot transferability and has been validated against:

  • Qwen-1.5-7B
  • SFR-Embedding-Mistral
  • E5-Mistral-7B-Instruct
  • Embedding-Gemma-300M
  • Jina-Embeddings-v3
  • Granite-Embedding-r2

Mitigation Steps

  • Adversarial Post-Training: Apply post-training techniques specifically designed to defend against document injection attacks to improve embedding robustness (observed natively in models like Qwen3-Embedding-0.6B, which exhibited resistance to the attack).
  • Input Sanitization and Monitoring: Restrict or flag unauthorized, anomalous, or high-entropy token suffixes appended to documents by untrusted users in shared corpus environments.
  • Robust Retrieval Architectures: Move beyond isolated post-retrieval detection and develop inherently robust retrieval embeddings that do not drastically shift out of topic clusters due to the inclusion of minor, fixed-length token perturbations.

Research context and confidence

Evidence and verification
Paper-reported; independent reproduction is not documented.
Primary research source linked.
Severity
Not rated by this catalog.
Source and publication type
arXiv · Research preprint.
Peer-review status is not provided by this source.
Author and publication status
Author metadata is not stored; see the primary paper.
Threat model and attacker access
Black-box model, service, or application access.
Related deployment categories
Retrieval-augmented generation
Taxonomy labels only; paper-specific deployment prerequisites are not inferred.
Affected systems
LLM-based Retrieval (LLMR), Dense Information Retrievers (IR), and Agent Memory Retrieval systems utilizing standard transformer-based embedding models. The attack demonstrates zero-shot transferability and has been…

Research Paper

" Someone Hid It": Query-Agnostic Black-Box Attacks on LLM-Based Retrieval

Primary source: arXiv. Findings are reported by the cited research and have not been independently verified.

View Paper

Evidence

This entry is based on a primary research source. Its findings are paper-reported; independent reproduction and verification are not claimed.

https://arxiv.org/abs/2602.00364