Skip to main content

mem0 CVE-2026-31240

| EUVDEUVD-2026-29563 HIGH
Missing Authentication for Critical Function (CWE-306)
2026-05-12 mitre GHSA-jfv9-68m5-gjjr
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Network scan discovers exposed mem0 API
  2. Exploit
    Send unauthenticated HTTP PUT to /memories/{id}
  3. Execution
    Modify memory record content
  4. Impact
    Corrupt AI application state

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

Remote unauthenticated exploitation against default configurations of mem0 1.0.0 server when network-accessible. The only prerequisite is network connectivity to the mem0 API endpoints-no authentication, no special configuration, no user interaction required per CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N. Exploitation is limited only by the deployment configuration: if the server is bound to a public interface or routable network, it is immediately vulnerable; if deployed with default localhost-only binding or behind network access controls not inherent to the application, exploitation requires the attacker to already have network access to that protected segment. Knowledge of valid memory_id values may be required for targeted attacks, though attackers can enumerate IDs or modify any discovered records. The CVSS integrity-high (I:H) with no confidentiality impact suggests read operations may not expose data, but write operations are fully exposed-verify whether GET endpoints are similarly unprotected.

Impact

Real-world risk assessment reveals conflicting signals requiring careful interpretation. CVSS base score of 7.5 (High) reflects the severity of unauthenticated network access to data modification capabilities. However, EPSS exploitation probability of 0.06% (18th percentile) is notably low, suggesting limited attacker interest or narrow deployment scope. No CISA KEV listing, no publicly available exploit code, and no vendor security advisory indicate this vulnerability has not been weaponized or widely targeted. The low EPSS despite high CVSS likely reflects mem0's specialized use case as an AI memory management component rather than broadly deployed infrastructure. Attack complexity is low (AC:L) and fully automatable, but exploitation requires knowledge of the specific API endpoint structure and valid memory_id values. Priority depends heavily on deployment context: organizations exposing mem0 servers to untrusted networks face immediate risk requiring urgent remediation, while isolated internal deployments present lower urgency. The integrity-only impact limits catastrophic scenarios but data manipulation in AI memory systems could poison model behavior or corrupt application state. Verification needed: whether default configurations expose the API to public networks versus localhost-only binding.

Exploit ScenarioDerived

An attacker discovers a mem0 server exposed on the public internet through network scanning or by identifying the service running on a known application stack. Without needing any credentials, the attacker crafts HTTP PUT requests to /memories/{memory_id} endpoints, systematically iterating through memory IDs or targeting specific records if IDs are predictable. The attacker modifies memory content to inject false information, corrupt AI model context, or delete critical records, potentially poisoning downstream AI behaviors or causing application logic failures dependent on accurate memory state.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – May 14, 2026

Unauthenticated remote attackers can modify or delete arbitrary memory records in mem0 1.0.0 server by directly calling unprotected API endpoints including PUT /memories/{memory_id}. The vulnerability stems from complete absence of authentication and authorization controls on critical memory management functions, allowing data manipulation and loss without any verification of requester identity. EPSS score of 0.06% (18th percentile) indicates low exploitation probability in the wild, and no public exploit code or active exploitation (CISA KEV) has been identified at time of analysis.

RemediationAI

Upgrade to a patched version of mem0 beyond 1.0.0 when released by the vendor; monitor the GitHub repository at https://github.com/mem0ai/mem0 for security updates and release announcements. No vendor advisory with specific fix version has been published at time of analysis, so patched version number cannot be confirmed. Until a patch is available, implement network-level access controls: restrict mem0 API endpoints to trusted internal networks only using firewall rules or network segmentation, blocking external access to TCP ports used by the server (typically 8080 or configured port). Deploy a reverse proxy with authentication middleware (such as nginx with HTTP Basic Auth, OAuth2 Proxy, or API gateway with token validation) in front of the mem0 server to enforce authentication before requests reach vulnerable endpoints-this adds latency and operational complexity but provides immediate protection. Alternatively, bind mem0 server to localhost interface only (127.0.0.1) and require all access through authenticated application layers, though this prevents legitimate distributed deployments. Monitor server access logs for unexpected PUT/DELETE requests to /memories/* endpoints as potential exploitation attempts. Each workaround trades deployment flexibility or performance for security-choose based on operational requirements and threat model.

Affected VersionsENISA

n/a n/a

Affected Packages

pypi mem0ai no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Mem0 is an AI memory management server that provides API endpoints for storing and managing memory records. The vulnerability is rooted in CWE-306 (Missing Authentication for Critical Function), where the server exposes RESTful API endpoints-specifically PUT /memories/{memory_id} and likely related GET, POST, and DELETE endpoints-without implementing any authentication middleware or authorization checks. The CVSS vector AV:N/AC:L/PR:N/UI:N confirms network-accessible endpoints with no authentication requirement (PR:N) and low attack complexity. This design flaw allows any network-accessible client to perform CRUD operations on the memory database without presenting credentials, violating fundamental API security principles. The integrity-only impact (I:H) with no confidentiality or availability impact in CVSS suggests the primary risk is unauthorized modification rather than data exfiltration or service disruption, though description mentions potential data loss through deletion operations.

Know when N A 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

NVD PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

3
CVSS changed
May 14, 2026 - 20:22 NVD
7.5 (HIGH)
CVE Published
May 12, 2026 - 00:00 nvd
HIGH 7.5
CVE Published
May 12, 2026 - 00:00 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

The mem0 1.0.0 server lacks authentication and authorization controls for its memory management API endpoints. Critical functions such as updating memory records (PUT /memories/{memory_id}) are exposed without any verification of the requester's identity or permissions. A remote attacker can exploit this by sending unauthenticated requests to modify, overwrite, or delete arbitrary memory records, leading to unauthorized data manipulation and potential data loss.

Executive ViewAI

Why It Matters

CVE-2026-31240 affects mem0 1.0.0 servers and allows unauthenticated remote attackers to modify or delete arbitrary memory records through unprotected API endpoints, creating a critical data integrity and confidentiality risk for any organization deploying this version. This vulnerability exposes sensitive stored information to unauthorized manipulation without any authentication barriers, potentially affecting applications relying on mem0 for data persistence.

Business Impact: High
Compensating Controls

Implement network segmentation restricting API access to trusted internal services only; deploy API gateway with mandatory authentication (OAuth 2.0, API keys, or mTLS) on all memory management endpoints; enable request logging and monitoring for unauthorized access attempts to PUT/DELETE memory endpoints; consider temporary deployment of reverse proxy with authentication wrapper until vendor patch availability.

Threat Intelligence Overview

EPSS Score
0.1%
Top 82% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

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 No
EPSS 0.1%
Patch available No
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
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.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

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