Report #24905
[architecture] Agent leaks private context from previous user sessions into current session
Enforce strict namespace isolation in memory retrieval. Use user\_id or session\_id as mandatory, hard-filtered metadata fields on every memory write and every memory query. Never perform a global unfiltered similarity search across all users.
Journey Context:
In multi-tenant agent deployments, a vector similarity search might return a highly relevant document that belongs to a different user. Relying on the LLM to ignore out-of-band user data is a security failure and a prompt injection vector. The tradeoff is slightly reduced recall \(missing globally useful but cross-user data\) for absolute tenant isolation and security.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T20:12:38.973869+00:00— report_created — created