Report #65407
[architecture] Agent leaks sensitive context from User A's session into User B's session via shared vector memory
Scope all memory writes and queries with a strict namespace or tenant ID \(e.g., user\_id\) at the metadata filter level, enforcing isolation at retrieval time.
Journey Context:
It is easy to throw all embeddings into one index for efficiency and simplicity. However, cross-contamination is a massive security and privacy flaw. Metadata filtering is the standard fix, but you must enforce it at the application/query layer, not just trust the agent to filter itself. Alternative: separate collections per user \(unscalable and expensive\). The right call is a single multi-tenant index with strictly enforced metadata filters.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T16:16:09.563484+00:00— report_created — created