Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-116575

MEDIUM 6.3EPSS 2%

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

Also known as GHSA-5324-3w58-qpp2

Mitigation

  • Upgrade mem0ai to 2.0.18 or later.
  • Upgrade mem0ai to 3.1.6 or later.

Who should check

  • Projects that depend on PyPI package mem0ai (< 2.0.18)
  • Projects that depend on npm package mem0ai (< 3.1.6)
  • Anyone running mem0ai mem0 < 2.0.18

Vulnerability facts

Affected
mem0ai < 2.0.18; mem0ai < 3.1.6
Fixed in
2.0.18, 3.1.6
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
6.3 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: None
EPSS
0.14% chance of exploitation in 30 days (percentile 2, 2026-11-26)
CWE
CWE-200, CWE-863
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
PyPI mem0ai< 2.0.182.0.18osv
npm mem0ai< 3.1.63.1.6osv
mem0ai mem0< 2.0.18—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-116575. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-116575.md
Affected: mem0ai < 2.0.18; mem0ai < 3.1.6
Fixed in: 2.0.18, 3.1.6

Steps:
1. Search this machine and project for mem0ai (PyPI), mem0ai (npm), mem0ai mem0: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-116575 being exploited?

There is no confirmed exploitation: CVE-2026-116575 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.14% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-116575?

Medium: CVSS 6.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2026-116575?

mem0ai < 2.0.18; mem0ai < 3.1.6.

Is there a fix for CVE-2026-116575?

Yes. Fixed in 2.0.18, 3.1.6. Upgrade mem0ai to 2.0.18 or later. Upgrade mem0ai to 3.1.6 or later.

How do I check if I'm affected by CVE-2026-116575?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors