CVE-2026-59706 mem0 - Unauthenticated Config API Exposure and SSRF via ollama_base_url
CriticalCVSS 9.2
EPSS 0.44%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi mem0ai | <= a3154d5 | after a3154d5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi mem0ai | <= a3154d5 | No fix listed |
References
- GitHub Issue exploit issue-tracking
- Product product
- Patch Commit patch
- www.vulncheck.com third-party-advisory
- ENISA EUVD EUVD-2026-42106 third-party-advisory