Report #31166
[architecture] Cross-session memory leaking between different users or projects in a multi-tenant agent
Scope memory retrieval by a strict namespace or tenant ID at the query level, and isolate vector embeddings per user/project if strict multi-tenancy is required.
Journey Context:
Developers often use a single global vector index with metadata filtering for multi-tenancy. However, if the metadata filter fails or is bypassed, cross-contamination occurs. For high-security agents, separate collections or strict namespace isolation is required. Tradeoff: Separate collections increase infrastructure overhead and cost compared to a single filtered index.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T06:42:04.875705+00:00— report_created — created