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.
Published: 2026-10-22
Score: 9.2 Critical
EPSS: n/a
KEV: No
Impact: SQL Injection
Action: Patch immediately
AI Analysis

Impact

mem0 0.1.117 through 1.0.7 contains a SQL injection flaw in the Databricks vector store module. The flaw originates from unescaped string interpolation in insert() and update() calls that allow an attacker to inject arbitrary SQL by supplying crafted memory text, metadata, or message names. This can lead to unauthorized data exfiltration or modification, compromising the confidentiality and integrity of data stored in the Databricks SQL warehouse.

Affected Systems

The vulnerability affects the mem0 package from mem0ai, version 0.1.117 up to but not including 1.0.8. Any deployment running a mem0 version in this range that utilizes the Databricks vector store is susceptible unless mitigated by an upgrade.

Risk and Exploitability

The CVSS score for the vulnerability is 9.2, indicating critical severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Based on the description, the likely attack vector involves an attacker who can provide or influence memory content, metadata, or message names to the mem0 vector store API; the attacker may then trigger the injection against the configured Databricks SQL warehouse. The exploitation requires that the mem0 instance and the Databricks SQL warehouse are reachable and that the injected SQL can be executed with sufficient privileges, so the attack surface is limited to environments where mem0 is deployed with direct access to Databricks.

Generated by OpenCVE AI on October 22, 2026 at 12:37 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade mem0 to version 1.0.8 or later to remove the vulnerable insert() and update() logic.
  • If an upgrade is not possible, validate or sanitize all memory text, metadata, and message name inputs to ensure they cannot contain SQL syntax before they reach the vector store functions.
  • Limit the SQL execution permissions of the credentials used by mem0 to the Databricks warehouse, restricting the impact of any potential injection.
  • As a temporary measure, consider disabling the Databricks vector store feature until the patch is applied.

Generated by OpenCVE AI on October 22, 2026 at 12:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 22 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Mem0ai
Mem0ai mem0
Vendors & Products Mem0ai
Mem0ai mem0

Thu, 22 Oct 2026 11:00:00 +0000

Type Values Removed Values Added
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.
Title mem0 0.1.117 before 1.0.8 SQL Injection via Databricks Vector Store
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.2, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-22T10:57:43.136Z

Reserved: 2026-10-22T10:37:07.008Z

Link: CVE-2026-115324

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-22T11:17:51.263

Modified: 2026-10-22T11:17:51.263

Link: CVE-2026-115324

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T14:56:38Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')