Skip to content
Heist/ feed
Back to feed
CriticalFix available

mem0ai Databricks vector store vulnerable to SQL injection

Type: advisorySources: OSV

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.

Products
mem0ai
Affected versions
0.1.117, 0.1.118, 1.0.0, 1.0.0b0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7
Fixed versions
1.0.8
CVEs
CVE-2026-115324
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 03:12 UTC · Revision 1

Source evidence

mem0ai Databricks vector store vulnerable to SQL injection

core-osv · Original source

Published 22 Oct 2026, 12:31 UTC

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.

osv:GHSA-7587-9684-52r6

mem0ai

Fixed versions: 1.0.8

Complete source record
{
  "id": "4d3005ae30734994a1fc93aa6978480327bbb3f4e2aea3f00a3f53f596a70e3d",
  "url": "https://osv.dev/vulnerability/GHSA-7587-9684-52r6",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "mem0ai Databricks vector store vulnerable to SQL injection",
    "summary": "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.",
    "evidence": "osv:GHSA-7587-9684-52r6",
    "products": [
      {
        "name": {
          "value": "mem0ai",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.0.8",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "0.1.117",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.1.118",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.0.0",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.0.0b0",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.0.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.0.2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.0.3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.0.4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.0.5",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.0.6",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.0.7",
            "evidence": "/affected/0/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "GHSA-7587-9684-52r6",
      "aliases": [
        "CVE-2026-115324",
        "GHSA-7587-9684-52r6"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0.1.117"
                },
                {
                  "fixed": "1.0.8"
                }
              ]
            }
          ],
          "package": {
            "name": "mem0ai",
            "purl": "pkg:pypi/mem0ai",
            "ecosystem": "PyPI"
          },
          "versions": [
            "0.1.117",
            "0.1.118",
            "1.0.0",
            "1.0.0b0",
            "1.0.1",
            "1.0.2",
            "1.0.3",
            "1.0.4",
            "1.0.5",
            "1.0.6",
            "1.0.7"
          ],
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-7587-9684-52r6/GHSA-7587-9684-52r6.json"
          }
        }
      ],
      "modified": "2026-10-23T21:00:04.366260359Z",
      "provider": "osv",
      "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"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-89"
        ],
        "severity": "CRITICAL",
        "github_reviewed": true,
        "nvd_published_at": "2026-10-22T11:17:51Z",
        "github_reviewed_at": "2026-10-23T20:52:52Z"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-115324",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/database_specific/severity"
  },
  "source_id": "core-osv",
  "document_id": 427022,
  "published_at": "2026-10-22T12:31:17+00:00"
}