CVE-2026-59706
9.2critical
mem0 - Unauthenticated Config API Exposure and SSRF via ollama_base_url
- Severity
- 9.2critical CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.44% (higher than 30% of CVEs)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
mem0 contains unauthenticated config API endpoints that expose LLM API keys in plaintext and allow server-side request forgery via attacker-controlled ollama_base_url parameter. Unauthenticated attackers can retrieve stored secrets like OpenAI API keys via GET /api/v1/config/ or trigger SSRF attacks by setting ollama_base_url to internal addresses like cloud IMDS via PUT /api/v1/config/mem0/llm endpoint.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| mem0 mem0 | up to a3154d5 | CVE List |
All scores
| VulnCheck | 9.2critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N |
| VulnCheck | 9.3critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-59706 changed 2026-09-24 | CVE Terms of Use |
| NVD | CVE-2026-59706 changed 2026-07-08 | Public domain |