CVE-2026-115324: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in mem0ai mem0
Description
mem0 versions from 0.1.117 up to but not including 1.0.8 contain an SQL injection vulnerability in the file mem0/vector_stores/databricks.py. This vulnerability allows attackers to inject SQL commands by manipulating stored memory content such as memory text, metadata, or message names. The injection occurs due to unescaped string interpolation in insert() and update() operations targeting a Databricks SQL warehouse. The vulnerability has a critical severity with a CVSS 4.0 score of 9.2.
CVSS v4.0
Score 9.2critical
Affected software
mem0ai
mem0
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The mem0 software prior to version 1.0.8 (starting from 0.1.117) has an SQL injection vulnerability in the databricks.py module. Attackers can influence stored memory content that is used unsafely in SQL insert and update commands, enabling execution of arbitrary SQL on the configured Databricks SQL warehouse. This occurs because the insert() and update() functions perform string interpolation without proper escaping or neutralization of special SQL elements.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary SQL commands on the Databricks SQL warehouse configured with mem0, potentially leading to data manipulation, data leakage, or other unauthorized database operations. The vulnerability requires network access and partial user interaction but no privileges or authentication. The CVSS 4.0 score of 9.2 indicates a critical impact with high confidentiality, integrity, and availability impact.
Mitigation Recommendations
No patch or official fix information is provided in the available data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using affected versions or restrict access to the affected functionality to trusted users only.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-10-22T10:37:07.008Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ad9f0784d27ba8daa4bc4ae
Added to database: 10/22/2026, 11:16:08 UTC
Last enriched: 10/22/2026, 11:30:38 UTC
Last updated: 10/22/2026, 17:16:09 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.