CVE-2026-49948
JSON

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 packageVersionsReported by
mem0ai mem0up to 0.2.8
Not affected: ae7f4062652df1376990221101d1adbb0819c973
CVE List

All scores

VulnCheck8.6high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
VulnCheck8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-862

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

Sources

SourceRecordLicence
CVE ListCVE-2026-49948 changed 2026-11-08CVE Terms of Use
NVDCVE-2026-49948 changed 2026-07-23Public domain