mem0 0.1.117 before 1.0.8 SQL Injection via Databricks Vector Store (mem0ai mem0)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.32 % Β· percentile 25 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- VulnCheck
- NVD status
- Awaiting Analysis
Description
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.
Weaknesses (CWE)
- CWE-89 β Improper Neutralization of Special Elements used in an SQL Command
References
- 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/releases/tag/v1.0.8
- https://github.com/mem0ai/mem0/blob/v1.0.7/mem0/vector_stores/databricks.py
- https://github.com/mem0ai/mem0
- https://www.vulncheck.com/advisories/mem0-0.1.117-before-1.0.8-sql-injection-via-databricks-vector-store
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 4.0 | CRITICAL 9.2 | 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 | VulnCheck |
| CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | VulnCheck |
| CVSS 4.0 | CRITICAL 9.2 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD Β· disclosure@vulncheck.com (Secondary) |
| CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD Β· disclosure@vulncheck.com (Secondary) |
Advisories
- GHSA-7587-9684-52r6 β mem0ai Databricks vector store vulnerable to SQL injection
European references
- ENISA EUVD Β· EUVD-2026-108126
- GCVE Β· GCVE-0-2026-115324
Affected products
| Product | Versions |
|---|---|
| mem0ai Β· mem0 | affected 0.1.117 < 1.0.8 ; unaffected 1.0.8 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |