8.6high
Mem0 0.2.8 Missing Authorization via POST /configure Endpoint
- Severity
- 8.6high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.29% (higher than 23% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| mem0ai mem0 | up to 0.2.8 Not affected: ae7f4062652df1376990221101d1adbb0819c973 | CVE List |
All scores
| VulnCheck | 8.6high CVSS:4.0 | 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 | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Las versiones de Mem0 hasta la 0.2.8, corregidas en el commit ae7f406, contienen una vulnerabilidad de autorización faltante en el componente de servidor autoalojado donde el endpoint POST /configure modifica la configuración global del proveedor de LLM y del incrustador, pero solo verifica la autenticación a través de JWT o X-API-Key sin validar el rol del llamador. Cualquier usuario autenticado que posea una clave API distribuida puede redirigir todo el tráfico de LLM y del incrustador a un servidor controlado por un atacante, con la configuración maliciosa persistida en PostgreSQL y sobreviviendo a los reinicios del servidor para afectar a todos los usuarios y claves API en la instancia.
References
| https://github.com/mem0ai/mem0/issues/5127 | issue-tracking | |
| https://github.com/mem0ai/mem0/issues/5384 | issue-tracking | |
| https://github.com/mem0ai/mem0/pull/5360 | issue-tracking, patch | |
| https://github.com/mem0ai/mem0/commit/ae7f4062652df1376990221101d1adbb0819c973 | patch | |
| https://www.vulncheck.com/advisories/mem0-missing-authorization-via-post-configure-endpoint | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-49948 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2026-49948 changed 2026-07-23 | Public domain |