Report #36427
[architecture] Agent leaking private context from User A's session into User B's session
Enforce strict namespace isolation in the memory store. Use composite keys \(e.g., user\_id \+ session\_id \+ memory\_id\) as mandatory pre-filters for all vector queries. Never query the global vector index directly from an agent runtime.
Journey Context:
Vector databases default to global similarity search. If User A and User B discuss similar topics, a naive top-K search might return User A's embedded memory in User B's context. Metadata filtering is often treated as optional, but for multi-tenant agents, it is a hard security boundary. The tradeoff is that you lose access to shared/global knowledge bases, requiring a two-step retrieval: one filtered for user-episodic memory, one unfiltered for global semantic memory.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T15:37:20.181594+00:00— report_created — created