Report #8064
[architecture] Agent leaks sensitive context or user-specific state from one session into another user's session
Scope all memory retrieval and writes by a strictly isolated session\_id or user\_id namespace. Apply a hard filter on the vector store query \(e.g., metadata pre-filtering\) before performing the vector similarity search.
Journey Context:
When implementing cross-session persistence, it's easy to treat the vector store as a global pool and rely on semantic similarity to find the right memories. However, if User A discusses private data, and User B asks a similar question, semantic search might retrieve User A's data. Metadata filtering must be enforced at the database level, not just the application level, to prevent cross-tenant contamination.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T04:36:20.825383+00:00— report_created — created