Skip to content
MediumVulnerability

CVE-2026-116575: Mem0 SDK session scope collision in add() exposes cross-tenant conversations

Identifier
CVE-2026-116575
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.

Summary

Mem0's Python SDK before 2.0.18 and TypeScript SDK before 3.1.6 build session scope keys by joining caller-controlled user_id, agent_id, and run_id values with unescaped & and = delimiters in _build_session_scope() and Memory.buildSessionScope(). A caller can embed another scope component in an identifier so that distinct tenant tuples yield the same session_scope key, which Memory.add(), AsyncMemory.add(), and POST /memories use to read and save recent raw messages. This enables cross-tenant conversation disclosure and eviction or interleaving of another tenant's history.

Mitigation

Fixed in Python SDK 2.0.18 and TypeScript SDK 3.1.6.