CVE-2026-59706

Critical

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.

SeverityCritical
CVSS9.3
Exploit probability—
ProductMem0
PublishedJul 7, 2026
First seenJul 7, 2026

How to fix

Affected products

ProductAffected versionsFixed in
mem0 mem0v ≤ a3154d5—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.