mem0ai Databricks vector store vulnerable to SQL injection
mem0 0.1.117 before 1.0.8 contains a 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.
What to do
Upgrade mem0ai to version 1.0.8 or later.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | mem0ai | >= 0.1.117, < 1.0.8 | 1.0.8 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-115324
- https://github.com/mem0ai/mem0/issues/4073
- https://github.com/mem0ai/mem0/pull/4558
- https://github.com/mem0ai/mem0/commit/a2ffca32660537b7b304305f36774ae2a13452cb
- https://github.com/mem0ai/mem0
- https://github.com/mem0ai/mem0/blob/v1.0.7/mem0/vector_stores/databricks.py
- https://github.com/mem0ai/mem0/releases/tag/v1.0.8
- https://www.vulncheck.com/advisories/mem0-0.1.117-before-1.0.8-sql-injection-via-databricks-vector-store
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-89- Platform
- Python (PyPI)
- Package
mem0ai- Disclosed
- 22.10.2026
- Updated
- 24.10.2026 10:00
Sources and licenses · Edited or translated by DockRay; source rights and applicable licenses are retained.
OSV / GitHub Advisory Database - GHSA-7587-9684-52r6 - CC BY 4.0
Vulnerability history: mem0ai
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 6
- First → latest
- 05.2026 10.2026
- Without a fix
- 3
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 1
- Medium 3
- Low 1
Disclosures per year
- 2026: 6
-
mem0ai Databricks vector store vulnerable to SQL injection this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.