{"id":"CVE-2026-116575","published":"2026-10-26T20:15:01Z","modified":"2026-10-27T14:18:25Z","title":"Mem0: Cross-tenant conversation leak via unescaped delimiter collision in session-scope key (_build_session_scope)","vendor":"mem0ai","product":"mem0","tier":"tail","description":{"text":"Mem0 provides persistent memory infrastructure for AI agents and applications. Prior to Python SDK 2.0.18 and TypeScript SDK 3.1.6, _build_session_scope() in mem0/memory/main.py and Memory.buildSessionScope() in the TypeScript SDK join caller-controlled user_id, agent_id, and run_id values using unescaped & and = delimiters. A caller can embed another scope component in a controlled identifier so that distinct tenant tuples produce the same session_scope key. Memory.add(), AsyncMemory.add(), and the REST POST /memories flow use that key to read and save recent raw messages, allowing cross-tenant conversation disclosure and eviction or interleaving of another tenant's history. This issue is fixed in Python SDK 2.0.18 and TypeScript SDK 3.1.6.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00108,"percentile":0.01223,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"},{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/mem0ai/mem0/security/advisories/GHSA-5324-3w58-qpp2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mem0ai/mem0/pull/6892","tags":["x_refsource_MISC"]},{"url":"https://github.com/mem0ai/mem0/commit/71f2ebefa3494da21550fb525216818776cde67f","tags":["x_refsource_MISC"]},{"url":"https://github.com/mem0ai/mem0/releases/tag/ts-v3.1.6","tags":["x_refsource_MISC"]},{"url":"https://github.com/mem0ai/mem0/releases/tag/v2.0.18","tags":["x_refsource_MISC"]}],"priority":{"score":4.7,"factors":[{"name":"EPSS percentile","points":0.24},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"mem0ai","affectedVersions":[{"vendor":"mem0ai","product":"mem0","versions":["< 2.0.18"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-27T13:45:14.377647Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"mem0ai","vulnerableRanges":["<2.0.18"],"patched":["2.0.18"],"from":["GHSA-5324-3w58-qpp2"],"provenance":"source"},{"ecosystem":"npm","package":"mem0ai","vulnerableRanges":["<3.1.6"],"patched":["3.1.6"],"from":["GHSA-5324-3w58-qpp2"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-110315","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-115324","published":"2026-10-22","fixed":"1.0.8","kev":false},{"cve":"CVE-2026-7597","published":"2026-05-01","fixed":"2.0.0b2","kev":false,"link":{"from":"CVE-2026-7597","to":"CVE-2026-116575","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:mem0ai","fromFixed":"2.0.0b2","toFixed":"2.0.18","daysApart":178}]}},{"cve":"CVE-2026-116575","published":"2026-10-26","fixed":"2.0.18","kev":false}],"package":"PyPI:mem0ai"}}