Skip to main content

Mem0 EUVDEUVD-2026-35449

| CVE-2026-49948 HIGH
Missing Authorization (CWE-862)
2026-06-09 VulnCheck GHSA-hp66-92p5-jh23
8.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privilege Mem0 API key
  2. Delivery
    Reach /configure over network
  3. Exploit
    POST malicious LLM/embedder URLs
  4. Execution
    Config persisted to PostgreSQL
  5. Persist
    All tenants' traffic proxied to attacker
  6. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – 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)
v2 Jun 09, 2026 - 16:29 cvss changed CVSS 8.6

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.

v1 Jun 09, 2026 - 15:48 CVSS 8.1

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

mem0 patch: ae7f4062652df1376990221101d1adbb0819c973
mem0 0 ≤0.2.8

Affected Packages

euvd mem0 no fix

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

Vendor (VulnCheck) PRIMARY 8.6 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Analysis Updated
Jun 09, 2026 - 16:29 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 09, 2026 - 16:29 vuln.today
v2 - CVSS changed
CVSS changed
Jun 09, 2026 - 16:22 NVD
8.1 (HIGH) 8.6 (HIGH)
CVE Published
Jun 09, 2026 - 14:58 nvd
HIGH 8.1

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

Apply vendor patch (commit ae7f406).

Threat Intelligence Overview

EPSS Score
0.1%
Top 83% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

63
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy