{"schema":"threatline.record/2","record":{"id":"CVE-2026-116575","aliases":["GHSA-5324-3w58-qpp2"],"summary":"Mem0: Cross-tenant conversation leak via unescaped delimiter collision in session-scope key (_build_session_scope)","details":"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.","categories":["Unclassified"],"product":"mem0","vendor":"mem0ai","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-116575","source_modified_at":"2026-10-26T20:15:01.875Z","fetched_at":"2026-10-26T23:45:56.352924Z","product":"mem0","vendor":"mem0ai","versions":[{"version":"< 2.0.18","status":"affected"}],"defaultStatus":null}],"fixed_versions":[],"cvss":6.3,"severity":"Medium","kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-26T20:15:01.875Z","modified_at":"2026-10-26T20:15:01.875Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-116575","fetched_at":"2026-10-26T23:45:56.352924Z","source_modified_at":"2026-10-26T20:15:01.875Z"}],"sources":["CVE List"],"references":[{"source":"CVE List","url":"https://github.com/mem0ai/mem0/security/advisories/GHSA-5324-3w58-qpp2","tags":["x_refsource_CONFIRM"]},{"source":"CVE List","url":"https://github.com/mem0ai/mem0/pull/6892","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/mem0ai/mem0/commit/71f2ebefa3494da21550fb525216818776cde67f","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/mem0ai/mem0/releases/tag/ts-v3.1.6","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/mem0ai/mem0/releases/tag/v2.0.18","tags":["x_refsource_MISC"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-26T20:15:01.875Z","content_hash":"43ee3ba9406513edbd8d432a38b6329d7fe242922c2dc822aeb01dbaf9143d10"}}
