Formalizes cross-user admissibility failure in shared vector stores and demonstrates that ordinary cosine-similarity retrieval leaks semantically adjacent memories across tenants without any exploit.

Topological visualization of MemLeak: Cross-User Semantic Leakage in Multi-Tenant AI Agent Memory
Brave API

MemLeak formalizes cross-user admissibility failure, a threat in multi-tenant AI agent deployments where shared vector stores cause ordinary cosine-similarity retrieval to inject semantically adjacent memories from other users into a query’s context. This leakage occurs without any exploit, adversarial modification, or intentional prompt injection, relying solely on the proximity of embeddings in a shared space.

Research indicates that non-adversarial, incidental leakage reaches 70–100% under pooled same-team retrieval, while adversarially crafted memories can achieve 90–100% top-k placement. The study highlights that strict user partitioning (hard isolation) is the only effective baseline to eliminate this risk, whereas pooled stores with soft metadata filtering remain vulnerable to inter-user semantic resonance.

Key findings include: Mechanism: Leakage is driven by embedding-space proximity rather than explicit data transfer or code changes. Severity: End-to-end response contamination can be rated 5.00/5, with leaked memories often providing genuinely useful but private context (e.g., salary benchmarks). Mitigation Failure: Standard response-quality monitoring is insufficient to detect this failure mode, and simple metadata filtering often fails if the store scope is widened for collaboration. Scope: The threat affects pooled indices with under-scoped metadata filters, team-scoped retrieval, and shared project namespaces.

Generated Oct 7, 2026
Open-Weights Reasoning
  • What it covers: This paper examines a security failure mode in multi-tenant AI agent systems that use shared vector memory stores. In such systems, memories from many tenants are embedded into a common vector space and retrieved through similarity search. The work formalizes cross-user admissibility failure: the condition in which a tenant’s query retrieves memories that belong to another tenant and should therefore be inadmissible. The central claim is that this leakage does not require an active exploit, prompt injection, or adversarial manipulation; it can emerge from ordinary cosine-similarity retrieval when semantically related memories from different tenants occupy nearby regions of the embedding space.
  • Key contributions and insights: The paper’s main contribution is to make tenant isolation in vector-memory retrieval a formal, analyzable property rather than an implementation detail. It highlights that vector stores are optimized for semantic recall, not authorization: two memories can be highly similar in meaning while being private to different users. By demonstrating that standard top-k similarity search can surface such cross-tenant memories, the work shows that tenant separation is not guaranteed merely by storing embeddings together with tenant metadata. The insight is that semantic adjacency can become a privacy boundary violation when retrieval is not explicitly constrained by access control.
  • Why it matters: Multi-tenant AI agents are increasingly expected to maintain persistent, personalized memory, making shared vector stores a common architectural pattern. If ordinary retrieval can leak semantically adjacent private memories, the risk is not limited to sophisticated attacks; it can arise from default system behavior. This matters for production agent platforms, enterprise assistants, and hosted memory services, where tenants may expect strong isolation. The paper therefore motivates stronger design requirements, such as tenant-scoped namespaces, access-control-aware indexing, retrieval-time authorization checks, and evaluation methods that measure cross-tenant leakage as a first-class security property.
Generated Oct 7, 2026
Sources