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.
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.