Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessNetwork scan discovers exposed mem0 API
-
ExploitSend unauthenticated HTTP PUT to /memories/{id}
-
ExecutionModify memory record content
-
ImpactCorrupt 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
3DescriptionCVE.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
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.
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
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.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2026-29563
GHSA-jfv9-68m5-gjjr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB