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.
https://github.com/mem0ai/mem0/releases/tag/v1.0.8
https://github.com/mem0ai/mem0/pull/4558
https://github.com/mem0ai/mem0/issues/4073
https://github.com/mem0ai/mem0/commit/a2ffca32660537b7b304305f36774ae2a13452cb
https://github.com/mem0ai/mem0/blob/v1.0.7/mem0/vector_stores/databricks.py
Published: 2026-10-22
Updated: 2026-10-22
Base Score: 7.6
Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:C/A:C
Severity: High
Base Score: 8.1
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Severity: High
Base 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
Severity: Critical
EPSS: 0.00326