CVE-2026-116575

Source
https://cve.org/CVERecord?id=CVE-2026-116575
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-116575.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-116575
Aliases
Published
2026-10-26T20:15:01Z
Modified
2026-10-29T02:30:27Z
Severity
  • 6.3 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-200",
        "CWE-863"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116575.json"
}
References

Affected packages

Git / github.com/mem0ai/mem0

Affected ranges

Type
GIT
Repo
https://github.com/mem0ai/mem0
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "2.0.18"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "71f2ebefa3494da21550fb525216818776cde67f"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "ts-v3.1.6",
            "range":  [
                {
                    "fixed":  "c427a453a89c5a3fee73cdb2e4c4df6a651e1692"
                }
            ],
            "source":  "REFERENCES_TAG"
        },
        {
            "original_tag":  "v2.0.18",
            "range":  [
                {
                    "fixed":  "c427a453a89c5a3fee73cdb2e4c4df6a651e1692"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

0.*
0.0.23
0.0.28
0.0.32
0.0.38
0.0.39
0.0.40
0.0.41
0.0.42
0.0.43
0.0.44
0.0.45
0.0.46
0.0.48
0.0.49
0.0.50
0.0.58
0.1.100
0.1.101
0.1.102
0.1.103
0.1.104
0.1.105
0.1.106
0.1.107
0.1.108
0.1.109
0.1.110
0.1.111
0.1.112
0.1.113
0.1.114
0.1.115
0.1.116
0.1.117
0.1.118
0.1.120
0.1.121
0.1.123
0.1.34
0.1.35
0.1.36
0.1.37
0.1.38
0.1.39
0.1.40
0.1.41
0.1.42
0.1.43
0.1.44
0.1.45
0.1.46
0.1.47
0.1.48
0.1.49
0.1.50
0.1.51
0.1.52
0.1.53
0.1.54
0.1.55
0.1.56
0.1.57
0.1.58
0.1.59
0.1.60
0.1.61
0.1.62
0.1.63
0.1.64
0.1.65
0.1.66
0.1.67
0.1.68
0.1.69
0.1.70
0.1.71
0.1.72
0.1.73
0.1.74
0.1.75
0.1.76
0.1.77
0.1.78
0.1.79
0.1.80
0.1.81
0.1.82
0.1.83
0.1.84
0.1.85
0.1.86
0.1.87
0.1.88
0.1.89
0.1.90
0.1.91
0.1.92
0.1.93
0.1.94
0.1.95
0.1.96
0.1.97
0.1.98
0.1.99
cli-node-v0.*
cli-node-v0.1.2
cli-node-v0.2.1
cli-node-v0.2.10
cli-node-v0.2.11
cli-node-v0.2.12
cli-node-v0.2.2
cli-node-v0.2.3
cli-node-v0.2.4
cli-node-v0.2.5
cli-node-v0.2.7
cli-node-v0.2.8
cli-node-v0.2.9
cli-node-v1.*
cli-node-v1.0.4
cli-v0.*
cli-v0.2.0
cli-v0.2.0b1
cli-v0.2.1
cli-v0.2.10
cli-v0.2.11
cli-v0.2.2
cli-v0.2.3
cli-v0.2.4
cli-v0.2.5
cli-v0.2.7
cli-v0.2.8
cli-v0.2.9
Other
evaluation-archive
release
n8n-nodes-mem0-v0.*
n8n-nodes-mem0-v0.1.1
n8n-nodes-mem0-v0.1.2
n8n-nodes-mem0-v0.1.3
openclaw-v1.*
openclaw-v1.0.1
openclaw-v1.0.10
openclaw-v1.0.11
openclaw-v1.0.12
openclaw-v1.0.13
openclaw-v1.0.14
openclaw-v1.0.15
openclaw-v1.0.2
openclaw-v1.0.3
openclaw-v1.0.4
openclaw-v1.0.4-beta.0
openclaw-v1.0.5
openclaw-v1.0.6
openclaw-v1.0.7
openclaw-v1.0.8
openclaw-v1.0.9
opencode-v0.*
opencode-v0.1.1
opencode-v0.1.2
opencode-v0.1.3
opencode-v0.2.0
opencode-v0.2.1
opencode-v0.2.2
pi-agent-v0.*
pi-agent-v0.1.1
pi-agent-v0.1.2
pi-agent-v0.1.3
pi-agent-v0.1.4
ts-v2.*
ts-v2.4.6
ts-v3.*
ts-v3.0.0
ts-v3.0.0-beta.0
ts-v3.0.0-beta.1
ts-v3.0.0-beta.2
ts-v3.0.1
ts-v3.0.10
ts-v3.0.12
ts-v3.0.13
ts-v3.0.2
ts-v3.0.3
ts-v3.0.4
ts-v3.0.5
ts-v3.0.6
ts-v3.0.7
ts-v3.0.8
ts-v3.0.9
ts-v3.1.0
ts-v3.1.1
ts-v3.1.2
ts-v3.1.3
ts-v3.1.4
ts-v3.1.5
v0.*
v0.0.24
v0.0.26
v0.0.27
v0.0.29
v0.0.30
v0.0.31
v0.0.34
v0.0.35
v0.0.36
v0.0.37
v0.0.47
v0.0.51
v0.0.52
v0.0.53
v0.0.54
v0.0.55
v0.0.56
v0.0.57
v0.0.59
v0.0.60
v0.0.61
v0.0.62
v0.0.63
v0.0.64
v0.0.65
v0.0.66
v0.0.67
v0.0.68
v0.0.69
v0.0.70
v0.0.71
v0.0.72
v0.0.73
v0.0.74
v0.0.75
v0.0.76
v0.0.77
v0.0.78
v0.0.79
v0.0.80
v0.0.81
v0.0.82
v0.0.83
v0.0.84
v0.0.85
v0.0.86
v0.0.87
v0.0.88
v0.0.89
v0.0.90
v0.0.91
v0.0.92
v0.1.0
v0.1.1
v0.1.10
v0.1.100
v0.1.101
v0.1.102
v0.1.103
v0.1.104
v0.1.106
v0.1.107
v0.1.107r1
v0.1.107rc2
v0.1.108
v0.1.109
v0.1.11
v0.1.110
v0.1.111
v0.1.112
v0.1.113
v0.1.114
v0.1.115
v0.1.116
v0.1.117
v0.1.118
v0.1.12
v0.1.13
v0.1.14
v0.1.15
v0.1.16
v0.1.17
v0.1.18
v0.1.19
v0.1.2
v0.1.20
v0.1.21
v0.1.22
v0.1.23
v0.1.24
v0.1.25
v0.1.26
v0.1.27
v0.1.28
v0.1.3
v0.1.30
v0.1.31
v0.1.32
v0.1.33
v0.1.34
v0.1.36
v0.1.37
v0.1.38
v0.1.39
v0.1.4
v0.1.42
v0.1.43
v0.1.44
v0.1.45
v0.1.46
v0.1.47
v0.1.48
v0.1.49
v0.1.5
v0.1.50
v0.1.52
v0.1.53
v0.1.54
v0.1.56
v0.1.57
v0.1.58
v0.1.59
v0.1.6
v0.1.61
v0.1.63
v0.1.64
v0.1.65
v0.1.66
v0.1.67
v0.1.68
v0.1.69
v0.1.7
v0.1.70
v0.1.71
v0.1.72
v0.1.73
v0.1.74
v0.1.75
v0.1.76
v0.1.77
v0.1.78
v0.1.79
v0.1.8
v0.1.80
v0.1.81
v0.1.82
v0.1.83
v0.1.84
v0.1.86
v0.1.87
v0.1.88
v0.1.89
v0.1.9
v0.1.90
v0.1.91
v0.1.92
v0.1.93
v0.1.94
v0.1.95
v0.1.96
v0.1.97
v0.1.98
v0.1.99
v1.*
v1.0.0
v1.0.10
v1.0.11
v1.0.2
v1.0.3
v1.0.4
v1.0.5
v1.0.6
v1.0.7
v1.0.8
v1.0.9
v2.*
v2.0.0
v2.0.0b0
v2.0.0b1
v2.0.0b2
v2.0.1
v2.0.10
v2.0.11
v2.0.12
v2.0.13
v2.0.14
v2.0.15
v2.0.16
v2.0.17
v2.0.2
v2.0.3
v2.0.4
v2.0.5
v2.0.6
v2.0.7
v2.0.8
vercel-ai-v2.*
vercel-ai-v2.0.6
vercel-ai-v3.*
vercel-ai-v3.0.0
vercel-ai-v3.0.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-116575.json"