GHSA-7587-9684-52r6

Suggest an improvement
Source
https://github.com/advisories/GHSA-7587-9684-52r6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-7587-9684-52r6/GHSA-7587-9684-52r6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7587-9684-52r6
Aliases
Published
2026-10-22T12:31:17Z
Modified
2026-10-23T21:00:04Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 9.2 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
mem0ai Databricks vector store vulnerable to SQL injection
Details

mem0 0.1.117 before 1.0.8 contains an sql injection vulnerability in mem0/vector_stores/databricks.py that allows attackers to inject SQL by influencing stored memory content. Attackers can supply crafted memory text, metadata, or message names that reach unescaped insert() and update() string interpolation to execute injected SQL on the configured Databricks SQL warehouse.

Database specific
{
    "cwe_ids":  [
        "CWE-89"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-10-23T20:52:52Z",
    "nvd_published_at":  "2026-10-22T11:17:51Z",
    "severity":  "CRITICAL"
}
References

Affected packages

PyPI / mem0ai

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.1.117
Fixed
1.0.8

Affected versions

0.*
0.1.117
0.1.118
1.*
1.0.0b0
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-7587-9684-52r6/GHSA-7587-9684-52r6.json"