# CVE-2026-59706: mem0 - Unauthenticated Config API Exposure and SSRF via ollama_base_url

- Severity: Critical 9.2 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-07T21:02:22.766Z
- Modified: 2026-09-24T14:18:01.365Z
- Weaknesses: CWE-306
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- mem0 mem0: up to a3154d5

## Every score

- VulnCheck: CVSS:4.0 9.2 Critical `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: CVSS:3.1 9.3 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N`

## References

- <https://github.com/mem0ai/mem0/issues/6081> (exploit, issue-tracking)
- <https://github.com/mem0ai/mem0> (product)
- <https://github.com/mem0ai/mem0/commit/a3154d59e52386d4e1189c1f5f44819868f76514> (patch)
- <https://www.vulncheck.com/advisories/mem0-server-side-request-forgery-and-plaintext-api-key-exposure-via-unauthenticated-config-endpoints> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-59706](https://www.cve.org/CVERecord?id=CVE-2026-59706), CVE Terms of Use, modified 2026-09-24
- NVD: [CVE-2026-59706](https://nvd.nist.gov/vuln/detail/CVE-2026-59706), Public domain, modified 2026-07-08

---

Page: https://cve.day/CVE-2026-59706 · Whole record: https://cve.day/CVE-2026-59706.json · Rebuilt by cve.day 2026-11-25T22:59:27.328Z
