Critical

mem0ai Databricks vector store vulnerable to SQL injection

  • Disclosed: 22.10.2026
  • Updated: 24.10.2026 10:00

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.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) mem0ai >= 0.1.117, < 1.0.8 1.0.8

References

CVSS score 8.1/10
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

  1. 2026: 6
  1. mem0ai Databricks vector store vulnerable to SQL injection this entry
    Critical · 8.1 CVE-2026-115324 >= 0.1.117, < 1.0.8 1.0.8
  2. Low · 6.3 CVE-2026-7597 < 2.0.0b2 2.0.0b2

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.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.