Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege Mem0 API key
-
DeliveryReach /configure over network
-
ExploitPOST malicious LLM/embedder URLs
-
ExecutionConfig persisted to PostgreSQL
-
PersistAll tenants' traffic proxied to attacker
-
ImpactExfiltrate prompts and memories, inject responses
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires (1) network reachability to the Mem0 self-hosted server's HTTP API, and (2) possession of any valid JWT or X-API-Key - including a low-privilege 'distributed' API key with no administrative role. No user interaction, no non-default configuration, and no platform-specific conditions are needed; the /configure endpoint is part of the standard self-hosted server. Exploitation is limited to deployments of the open-source self-hosted server up to 0.2.8 where API keys have been issued to more than one trust tier, and to instances actually exposing /configure to those keys; single-operator deployments where the only key holder is already the administrator face no privilege escalation, only the residual integrity risk of credential leakage. |
| Impact | The CVSS 4.0 score of 8.6 is consistent with the vector AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N: network-reachable, low complexity, requires only low-privilege authentication (any distributed API key), no user interaction, and yields high confidentiality and integrity impact while leaving availability untouched. Because the malicious LLM endpoint sees every prompt and response on the instance, a successful exploit effectively exfiltrates all memories and biases all downstream agent decisions - a high real-world impact for any Mem0 deployment that issues API keys beyond a single trust boundary (e.g., multi-tenant SaaS, hosted demos, shared internal instances). VulnCheck reported the issue, a public PoC and patch exist, but no EPSS score or CISA KEV entry was provided in the source data, so widespread automated exploitation is not confirmed; the prerequisite of a valid API key likely keeps this targeted rather than wormable. |
| Exploit ScenarioDerived | An attacker with any valid distributed Mem0 API key - for example, a low-tier tenant on a shared SaaS instance - sends a single authenticated POST /configure request that points the LLM and embedder base URLs at a server they control. From that moment, every prompt, memory write, and embedding request from any user on the instance is routed through the attacker, who silently logs sensitive data and can return manipulated responses; the setting survives restarts because it is written to PostgreSQL, and a public PoC for this flow is referenced in the upstream issue tracker. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 09, 2026
Authorization bypass in Mem0 self-hosted server versions through 0.2.8 allows any authenticated holder of a distributed API key to overwrite the global LLM and embedder configuration via the POST /configure endpoint, redirecting all model traffic to an attacker-controlled server. The malicious configuration is persisted to PostgreSQL and survives restarts, affecting every user and API key on the instance. Publicly available exploit code exists and a vendor patch has been released in commit ae7f406.
Earlier versions of this analysis (2)
Privilege escalation in Mem0 self-hosted server versions through 0.2.8 allows any authenticated API-key holder to redirect all LLM and embedder traffic to an attacker-controlled endpoint via the unprotected POST /configure route. The malicious configuration is persisted to PostgreSQL and survives restarts, affecting every tenant on the instance; publicly available exploit code exists and a vendor patch has been released in commit ae7f406.
Privilege escalation via missing authorization in Mem0 self-hosted server through version 0.2.8 allows any authenticated user holding a distributed API key to overwrite the global LLM and embedder configuration through the POST /configure endpoint. Because the endpoint validates only authentication (JWT or X-API-Key) and not the caller's role, an attacker can redirect all model traffic on the instance to an attacker-controlled server, with the change persisted in PostgreSQL and surviving restarts. Publicly available exploit code exists and a vendor patch is available in commit ae7f406.
RemediationAI
Upgrade to the Mem0 build containing the fix commit ae7f4062652df1376990221101d1adbb0819c973 (merged via PR https://github.com/mem0ai/mem0/pull/5360); this is an upstream fix available as a commit, and a tagged release version beyond 0.2.8 is not independently confirmed from the provided data. Until the patched build is deployed, operators should block or reverse-proxy the POST /configure endpoint so only administrator identities can reach it, audit recently issued API keys and rotate any that are over-privileged or unaccounted for, and inspect the persisted LLM/embedder configuration in PostgreSQL to confirm the provider URL still points to a trusted endpoint - note that restricting /configure will prevent legitimate runtime reconfiguration through the API and may require config changes to be made directly in the database. Review the related pgvector image migration guide at https://docs.mem0.ai/migration/server-pgvector-upgrade if upgrading the server stack at the same time.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Mem0 is an open-source memory layer for AI agents whose self-hosted server (cpe:2.3:a:mem0ai:mem0) exposes an HTTP API protected by JWT or X-API-Key authentication. The vulnerable POST /configure endpoint manages instance-wide LLM provider and embedder settings backed by PostgreSQL, but its handler only checks that the caller is authenticated - not that the caller holds an administrative role. This is a textbook CWE-862 Missing Authorization flaw: an authorization decision (administrative configuration change) is conflated with authentication (possessing any valid API key), so a privilege-tier check that should gate the endpoint is simply absent.
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:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Primary rating from Vendor (VulnCheck) · only source for this CVE.
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
4DescriptionCVE.org
Mem0 versions through 0.2.8, fixed in commit ae7f406, contain a missing authorization vulnerability in the self-hosted server component where the POST /configure endpoint modifies global LLM provider and embedder configuration but only verifies authentication via JWT or X-API-Key without validating the caller's role. Any authenticated user holding a distributed API key can redirect all LLM and embedder traffic to an attacker-controlled server, with the malicious configuration persisted to PostgreSQL and surviving server restarts to affect all users and API keys on the instance.
Executive ViewAI
Mem0 self-hosted server versions through 0.2.8 contain an authorization bypass allowing authenticated API key holders to globally redirect all LLM model traffic to an attacker-controlled server, affecting every user and workload on the instance. Publicly available exploit code exists for this vulnerability, creating immediate risk to organizations using affected versions.
Apply vendor patch (commit ae7f406).
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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
Sensitive information disclosure and server-side request forgery in mem0's self-hosted server let unauthenticated remote
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-35449
GHSA-hp66-92p5-jh23
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB