OWASP Evolution

Vector and Embedding WeaknessesLLM08: Vector and Embedding Weaknesses · 2025

Weaknesses in vectors and retrieval can leak information, mix tenants, invert embeddings or manipulate a RAG system.

Summary

Weaknesses in vectors and retrieval can leak information, mix tenants, invert embeddings or manipulate a RAG system.

How the attack works

LLM08 · How the attack worksSimilarity search does not filter by tenant; it retrieves a document from another organization and includes it in the answer.Tenant AVectors A + BDocument BReply to AMissing tenant filter

Similarity search does not filter by tenant; it retrieves a document from another organization and includes it in the answer.

Example

Vulnerable · Pseudocode
hits = vectors.search(embed(query))
reply = llm(query, context=hits)
# No tenant or document authorization

Fix: Apply tenant scope and document authorization within the query; authenticate ingestion sources.

Prevention

  • Partition data and apply granular access controls.
  • Authenticate sources and record ingestion provenance.
  • Detect anomalous queries and vectors.

Lineage

  1. 2025 · LLM08: Vector and Embedding Weaknesses Moves down to rank 9 in 2026
  2. 2026 · LLM09: Vector and Embedding Weaknesses Moves down from rank 8
  • 2025:LLM08 → 2026:LLM09: Vector and Embedding Weaknesses moves down from rank 8 to 9.

Sources

Buy me a coffee

OWASP Evolution

Editions
Continues / movesContinues RenamedRenamed Merged / expandedMerged