Auth bypass in Mem0ai Mem0
CVE-2026-49948
- CVSS v3
- 8.1 High
- Public exploits
- None known
- EPSS
- 0.003 · 21.8th percentile
- Published
- 2026-06-09
Mem0 versions through 0.2.8, fixed in commit ae7f406, contain a missing authorization vulnerability in the self-hosted server component where the POST /configure endpoint modifies global LLM provider and embedder configuration but only verifies authentication via JWT or X-API-Key without validating the caller's role. Any authenticated user holding a distributed API key can redirect all LLM and embedder traffic to an attacker-controlled server, with the malicious configuration persisted to PostgreSQL and surviving server restarts to affect all users and API keys on the instance.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.003, 21.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Mem0ai Mem0 — versions 0, ae7f4062652df1376990221101d1adbb0819c973
Weakness classification (CWE)
References
- github.com/mem0ai/mem0/commit/ae7f4062652df1376990221101d1adbb0819c973 (patch)
- github.com/mem0ai/mem0/issues/5127 (issue-tracking, technical-description, exploit)
- github.com/mem0ai/mem0/issues/5384 (issue-tracking, technical-description)
- github.com/mem0ai/mem0/pull/5360 (issue-tracking, patch)
- www.vulncheck.com/advisories/mem0-missing-authorization-via-post-configure-endp… (third-party-advisory)