VDB
Sign up
HIGH8.1

GHSA-7587-9684-52r6

mem0ai Databricks vector store vulnerable to SQL injection

Quick fix

GHSA-7587-9684-52r6 — mem0ai: upgrade to the fixed version with the command below.

pip install --upgrade 'mem0ai>=1.0.8'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/mem0ai
Introduced in: 0.1.117Fixed in: 1.0.8
Fixpip install --upgrade 'mem0ai>=1.0.8'

References