CVE-2026-7597: Mem0ai Mem0ai Mem0 Has An Improper Vulnerability

LOW
Advisory Identifier: GHSA-xqxw-r767-67m7
CVSS 6.3
CWE-20
Published
Advisory Summary

CVE-2026-7597 is a LOW (CVSS 6.3) mem0ai mem0 has an improper vulnerability (CWE-20: Improper Input Validation) affecting Mem0ai libraries in the PyPI ecosystem. The issue involves mem0ai mem0 has an improper input validation issue. Remediation is available by upgrading affected packages to version 2.0.0b2.

CVE-2026-7597 at a Glance

CVE Identifier CVE-2026-7597
GHSA Identifier GHSA-xqxw-r767-67m7
Severity LOW
CVSS v3.1 Base Score 6.3
CWE Classification CWE-20: Improper Input Validation
Affected Product Mem0ai
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 6.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2026-7597

To remediate this vulnerability, upgrade all affected Mem0ai dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

mem0ai fixed: 2.0.0b2
pip install mem0ai>=2.0.0b2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show mem0ai

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-7597, inspect your installed packages using pip:

pip show mem0ai

Analyze the terminal output to locate any version of Mem0ai in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.0b2), your application is affected.

Note: The pip show mem0ai command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Mem0ai, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A vulnerability was found in mem0ai mem0 up to 1.0.11. This affects the function pickle.load/pickle.dump of the file mem0/vector_stores/faiss.py. Performing a manipulation results in deserialization. It is possible to initiate the attack remotely. The exploit has been made public and could be used. The patch is named 62dca096f9236010ca15fea9ba369ba740b86b7a. Applying a patch is the recommended action to fix this issue.

CVE-2026-7597 Affected Mem0ai Versions

1 component(s)
Fixed Versions:
2.0.0b2
Product / Package Ecosystem Affected Versions Fixed Version
mem0ai
PyPI
< 2.0.0b2
2.0.0b2

References

Frequently Asked Questions

What is CVE-2026-7597?
CVE-2026-7597 is a security vulnerability in Mem0ai involving mem0ai mem0 has an Improper Input Validation Issue under CWE-20: Improper Input Validation.
Which Mem0ai versions are affected?
Affected versions include releases prior to 2.0.0b2 across affected packages: mem0ai.
What version fixes CVE-2026-7597?
Upgrading to 2.0.0b2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is mem0ai affected?
Yes, mem0ai is affected in releases prior to 2.0.0b2. Upgrade your dependency to 2.0.0b2 or later.
What is the CVSS score of CVE-2026-7597?
CVE-2026-7597 has a CVSS v3.1 base score of 6.3 (LOW) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
What CWE is associated with CVE-2026-7597?
CVE-2026-7597 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check PyPI dependencies for CVE-2026-7597?
Run the dependency tree command: 'pip show mem0ai'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-xqxw-r767-67m7",
  "modified" : "2026-05-07T20:47:20Z",
  "published" : "2026-05-02T00:31:21Z",
  "aliases" : [ "CVE-2026-7597" ],
  "summary" : "mem0ai mem0 has an Improper Input Validation Issue",
  "details" : "A vulnerability was found in mem0ai mem0 up to 1.0.11. This affects the function pickle.load/pickle.dump of the file mem0/vector_stores/faiss.py. Performing a manipulation results in deserialization. It is possible to initiate the attack remotely. The exploit has been made public and could be used. The patch is named 62dca096f9236010ca15fea9ba369ba740b86b7a. Applying a patch is the recommended action to fix this issue.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "mem0ai"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.0.0b2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-7597"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/mem0ai/mem0/issues/3778"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/mem0ai/mem0/pull/4833"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/mem0ai/mem0/commit/62dca096f9236010ca15fea9ba369ba740b86b7a"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/mem0ai/mem0"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/submit/805562"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/vuln/360550"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/vuln/360550/cti"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-07T20:47:19Z",
    "nvd_published_at" : "2026-05-01T22:16:16Z"
  }
}