SCA: security update for mem0ai (GHSA-5324-3w58-qpp2)

medium Tenable Self-Hosted Container Security Plugin ID 477778

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-116575)

Solution

Update the mem0ai library and its related packages to version 2.0.18 or later.

See Also

https://github.com/advisories/GHSA-5324-3w58-qpp2

Plugin Details

Severity: Medium

ID: 477778

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 10/29/2026

Updated: 10/29/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.58

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.1

Vector: CVSS2#AV:L/AC:H/Au:S/C:C/I:C/A:N

CVSS Score Source: CVE-2026-116575

CVSS v3

Risk Factor: Medium

Base Score: 6.3

Temporal Score: 5.5

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/28/2026

Vulnerability Publication Date: 10/26/2026

Reference Information

CVE: CVE-2026-116575