CVE-2026-49948
Mem0 0.2.8 Missing Authorization via POST /configure Endpoint
- State
- Published
- Severity
- 8.6 High
- Published
- Jun 9, 2026
- Updated
- Jul 14, 2026
- Reserved
- Jun 2, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.6 High | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 8.1 High | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | VulnCheck |
Weaknesses
- CWE-862 Missing Authorization
Affected Products
| Product | Versions |
|---|---|
mem0mem0ai |
|
References
- https://github.com/mem0ai/mem0/issues/5127issue-tracking
- https://github.com/mem0ai/mem0/issues/5384issue-tracking
- https://github.com/mem0ai/mem0/pull/5360issue-tracking
- https://github.com/mem0ai/mem0/commit/ae7f4062652df1376990221101d1adbb0819c973patch
- https://www.vulncheck.com/advisories/mem0-missing-authorization-via-post-configure-endpointthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.