CVEsmem0aiCVE-2026-116575Published Oct 26, 20:15 · Updated Oct 27, 14:18 UTC
6.3
MediumCVSS 3.1 · from GitHub_M
CVE-2026-116575

Mem0: Cross-tenant conversation leak via unescaped delimiter collision in session-scope key (_build_session_scope)

mem0 · Information exposure · CWE-200
Affectedmem0
FixNo fix listed yet.
PublishedOct 26, 20:15 · GitHub_M
ScoredOct 26 · 6.3 · GitHub_M
Exploit code publicNone known · checked 22:18 UTC
ExploitedNone known · CISA KEV checked 22:30 UTC

What we know

No known exploitation. CISA KEV, checked 22:30 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 22:18 UTC.
An attacker needs local access to the machine. CVSS: local.
It only works under certain conditions, which makes it harder to pull off. CVSS: high attack complexity.
A successful attack can read data and change data. CVSS impact.
A successful attack gives full control of the affected system. CISA: technical impact total.

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 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.

From GitHub_M

Affected and fixed versions

ProductAffectedFixed inmem0< 2.0.18–

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

github.com/mem0ai/mem0/security/advisories/GHSA-5324-3w58-qpp2 · github.comrefsource_CONFIRMgithub.com/mem0ai/mem0/pull/6892 · github.comrefsource_MISCgithub.com/mem0ai/mem0/commit/71f2ebefa3494da21550fb525216818776cde67f · github.comrefsource_MISCgithub.com/mem0ai/mem0/releases/tag/ts-v3.1.6 · github.comrefsource_MISCgithub.com/mem0ai/mem0/releases/tag/v2.0.18 · github.comrefsource_MISC

Other CVEs in mem0

All 3 →
8.1mem0 0.1.117 before 1.0.8 SQL Injection via Databricks Vector Store · CVE-2026-115324Oct 228.1Mem0 0.2.8 Missing Authorization via POST /configure Endpoint · CVE-2026-49948Jun 96.3mem0ai mem0 faiss.py pickle.dump deserialization · CVE-2026-7597May 1