You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VertexAiRagMemoryService search_memory does not filter by user_id, causing memory leakage across users #1019
When using VertexAiRagMemoryService, memory entries retrieved via search_memory are not filtered by user_id, only by session_id. This can result in memory being shared or leaked between different users if session IDs are reused or not globally unique.
In my application, I stored information under a session for user_id = "uid1". Later, when querying from a session with user_id = "uid2" and a different session ID, the same information was still retrieved, suggesting memory is not correctly scoped by user.
Expected behavior:
Memory entries should be filtered, preferably on the server side, by at least the user_id to ensure proper isolation between users.
Activity
fix: Filter memory by app_name and user_id.
DeanChensj commentedon May 29, 2025
Thanks for reporting this issue. This is a temporary workaround, we will add server side filtering later.
fix: Filter memory by app_name and user_id.
fix: Filter memory by app_name and user_id.
fix: Filter memory by app_name and user_id.