mem0 - Unauthenticated Config API Exposure and SSRF via ollama_base_url
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-306.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-59706
- 2026-10-03 Alias added: GHSA-225m-p565-9h68
References
Patch 1
Other 2
More mem0 vulnerabilities
- TI-2026-42578 mem0 - OpenMemory API Unauthenticated Access via Memory Endpoints CVSS 4.0CRITICAL 9.3
- TI-2026-23903 The mem0 v1.0.0 server lacks authentication and authorization controls for its memory… CVSS 3.1CRITICAL 9.1
- TI-2026-23904 The mem0 1.0.0 server lacks authentication and authorization controls for its memory… CVSS 3.1MEDIUM 6.5
- TI-2026-23906 The mem0 1.0.0 server lacks authentication and authorization controls for its memory… CVSS 3.1MEDIUM 5.3
- TI-2026-23905 The mem0 1.0.0 server lacks authentication and authorization controls for its memory… CVSS 3.1MEDIUM 6.5
- TI-2026-23902 The mem0 1.0.0 server lacks authentication and authorization controls for its memory… CVSS 3.1MEDIUM 6.5
Sources
- CVE-2026-59706 · CVE Program
- CVE-2026-59706 · NVD
- FIRST EPSS
- GHSA-225m-p565-9h68 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences