Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDiscover exposed mem0 config API
-
DeliveryGET /api/v1/config/ to read plaintext keys
-
ExploitPUT ollama_base_url to internal IMDS
-
ExecutionServer issues SSRF request
-
ImpactHarvest credentials and pivot internally
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires only network reachability to the mem0 server's config API - no authentication, no user interaction, and default configuration per PR:N/UI:N/AC:L in the CVSS 4.0 vector. The concrete prerequisites are: for credential theft, HTTP access to the GET /api/v1/config/ endpoint; for SSRF, the ability to PUT /api/v1/config/mem0/llm with an attacker-chosen ollama_base_url pointing at an internal/link-local address (e.g., cloud IMDS at 169.254.169.254). The primary limiting factor is exposure - the config API must be reachable by the attacker; if the server is bound to localhost, firewalled, or fronted by an authenticating proxy, the attack surface is removed. SSRF impact against cloud metadata is further limited where IMDSv2 or metadata egress blocking is enforced. |
| Impact | This is a genuine high priority, not an inflated CVSS number. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N, 9.2) is internally consistent with the description: fully remote, no authentication, no user interaction, high confidentiality impact on both the vulnerable system (leaked API keys) and a subsequent system (SSRF-reachable internal services, SC:H). The dual primitive is what elevates risk - credential theft alone enables downstream account abuse and cloud billing fraud, while the SSRF-to-IMDS path can yield cloud instance credentials and lateral movement. No EPSS score or SSVC decision data was supplied, and the CVE is not on CISA KEV, so there is no evidence of active exploitation; likewise no POC was referenced. The main limiting factor is exposure: risk is only realized where the mem0 server's config API is network-reachable to untrusted clients rather than bound to localhost or firewalled, so real-world impact depends heavily on deployment posture. |
| Exploit ScenarioDerived | An attacker who can reach an internet-exposed mem0 server sends GET /api/v1/config/ and receives the stored OpenAI (or other provider) API key in plaintext, then reuses it to run up charges or access the victim's LLM account. In a cloud deployment, the attacker instead sends PUT /api/v1/config/mem0/llm setting ollama_base_url to http://169.254.169.254/latest/meta-data/, causing the server to fetch instance metadata and potentially leak cloud credentials. No exploit code was referenced in the source data, but both requests are trivial to craft with standard HTTP tooling given the low attack complexity and absent authentication. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 07, 2026
Sensitive information disclosure and server-side request forgery in mem0's self-hosted server let unauthenticated remote attackers steal stored LLM provider credentials and pivot into internal infrastructure. Because the /api/v1/config/ endpoints require no authentication (CWE-306), an attacker can GET plaintext secrets such as OpenAI API keys and PUT a malicious ollama_base_url to coerce the server into requesting internal-only addresses like cloud instance metadata (IMDS). CVSS 4.0 rates this 9.2 (Critical); there is no public exploit identified at time of analysis, but the attack is trivial and reported by VulnCheck.
RemediationAI
Upstream fix available (PR/commit); a released patched version is not independently confirmed from the available data - apply the vendor fix in commit a3154d59e52386d4e1189c1f5f44819868f76514 (https://github.com/mem0ai/mem0/commit/a3154d59e52386d4e1189c1f5f44819868f76514) by upgrading to a build that includes it, and consult the VulnCheck advisory and issue #6081 for guidance. Until patched, do not expose the mem0 config API to untrusted networks: bind the server to localhost or place it behind an authenticating reverse proxy, and restrict or block access to the /api/v1/config/ routes at the proxy/firewall (this prevents credential reads and config writes but breaks any legitimate remote config management). Because SSRF targets cloud metadata, enforce IMDSv2 and block egress from the mem0 host to 169.254.169.254 and other internal ranges (side effect: any intended internal integrations must be explicitly allowlisted). As a precaution, rotate any LLM/provider API keys that were stored in an exposed instance, since they may already be compromised.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
mem0 (mem0ai/mem0) is an open-source memory layer for AI agents that persists and retrieves contextual memories, backed by configurable LLM and embedding providers. The vulnerable component is the server's configuration REST API, which exposes GET /api/v1/config/ and PUT /api/v1/config/mem0/llm without an authentication or authorization check - the CWE-306 (Missing Authentication for Critical Function) root cause. The config store holds provider API keys in plaintext, so a read of the endpoint returns live credentials. Separately, the llm config accepts an ollama_base_url value that the server subsequently uses to make outbound HTTP requests; with no allowlist or SSRF guard, an attacker-supplied internal URL (e.g., http://169.254.169.254/ cloud IMDS) is fetched by the server, classic SSRF against link-local and internal endpoints.
Know when Mem0 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Unauthenticated remote endpoint (PR:N/AC:L) leaks API keys (C:H) and SSRF reaches internal systems, changing scope (S:C); config write gives limited integrity impact (I:L).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
mem0's self-hosted server contains an authentication bypass vulnerability that exposes LLM provider credentials (such as OpenAI API keys) and internal infrastructure to remote unauthenticated attackers. Compromise of these credentials could enable unauthorized cloud service charges, account takeover, and lateral movement into internal systems. All organizations running mem0 self-hosted require immediate attention to prevent credential theft and cloud account abuse.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Authorization bypass in Mem0 self-hosted server versions through 0.2.8 allows any authenticated holder of a distributed
Unauthenticated data theft, tampering, and denial-of-service affects mem0's OpenMemory API server (openmemory/api compon
SQL injection in mem0's Databricks vector store backend (mem0/vector_stores/databricks.py) affects versions 0.1.117 up t
Unauthenticated deletion of arbitrary memory records in mem0 1.0.0 allows remote attackers to remove any database entry
mem0 1.0.0 server allows unauthenticated remote attackers to trigger memory reset and table re-creation via unprotected
A delimiter-injection flaw in Mem0's session-scope key construction lets a legitimate caller of the Python or TypeScript
Unsafe pickle deserialization in mem0 up to version 1.0.11 allows authenticated remote attackers to execute arbitrary co
mem0 1.0.0 server accepts unauthenticated POST requests to the /memories endpoint, allowing remote attackers to inject a
EUVD-2026-42106
GHSA-225m-p565-9h68
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB