{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-116575","id":"CVE-2026-116575","title":"mem0 session scope collision in tenant identifiers","description":"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 ","descriptionLong":"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.","published":"2026-10-26T20:15:01.875Z","updated":"2026-10-29T02:30:27.093563475Z","reserved":"2026-10-26T15:03:39.035Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["mem0ai mem0"],"affectedProducts":[{"vendor":"mem0ai","product":"mem0","defaultStatus":null,"versions":[{"version":"< 2.0.18","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"mem0ai","purl":"pkg:pypi/mem0ai","ranges":["<2.0.18"],"fixed":["2.0.18"],"advisory":"GHSA-5324-3w58-qpp2"},{"ecosystem":"npm","name":"mem0ai","purl":"pkg:npm/mem0ai","ranges":["<3.1.6"],"fixed":["3.1.6"],"advisory":"GHSA-5324-3w58-qpp2"}],"cwes":["CWE-200","CWE-863"],"aliases":["GHSA-5324-3w58-qpp2"],"references":[{"url":"https://github.com/mem0ai/mem0/security/advisories/GHSA-5324-3w58-qpp2","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/mem0ai/mem0/pull/6892","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/mem0ai/mem0/commit/71f2ebefa3494da21550fb525216818776cde67f","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/mem0ai/mem0/releases/tag/ts-v3.1.6","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/mem0ai/mem0/releases/tag/v2.0.18","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116575.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116575","tags":["advisory"]},{"url":"https://github.com/mem0ai/mem0","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00108,"epssPercentile":0.01218,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-116575","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116575","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-116575","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-5324-3w58-qpp2","ok":true,"note":"GHSA-5324-3w58-qpp2"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-116575","ok":true,"note":"scored 2026-11-18"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}