Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain credentials or bypass auth
-
DeliveryUpload malicious vector data via API
-
ExploitCraft pickle payload with code gadgets
-
InstallTrigger index load on server
-
C2Deserialize unsafe pickle object
-
ExecuteExecute arbitrary code
-
ImpactEstablish persistence or data exfiltration
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, 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: (1) authenticated access to the mem0 instance (PR:L in CVSS vector), either via valid user credentials or an exposed API endpoint that accepts vector/docstore data; (2) ability to write or modify serialized vector store files, either directly to the file system or through an API upload endpoint; (3) the FAISS vector store must be in use (this vulnerability does not affect other vector store backends); (4) the victim application must load the vector store, triggering pickle deserialization. Exploitation is blocked if: vector store files are stored in read-only locations, API uploads are disabled, authentication is properly enforced with strong credential policies, or the mem0 version is patched to 1.0.12+. The CVSS vector AV:N/AC:L/PR:L/UI:N confirms low attack complexity and no user interaction required once authentication is bypassed, but the PR:L requirement is critical-unauthenticated remote code execution is not possible. |
| Impact | CVSS 6.3 with AV:N/AC:L/PR:L/UI:N indicates network-accessible remote exploitation requiring low-complexity authentication, without user interaction. The CVSS vector includes E:P (exploit proof-of-concept exists) and RL:O (official fix available), lowering real-world risk compared to unpatched similar vulnerabilities. However, authentication requirement (PR:L) significantly limits exposure compared to unauthenticated RCE-only users with valid credentials to mem0 can exploit this. The presence of publicly available exploit code combined with moderate CVSS and confirmed patch availability creates a medium-priority patching scenario: high urgency for internet-facing mem0 deployments, moderate urgency for internal/development use. The fact that this affects pickle deserialization of stored vector metadata suggests the attacker must either (1) have write access to the vector store files on disk, or (2) exploit an upload/API endpoint that accepts docstore data. The authentication requirement suggests scenario 2 is more likely-an authenticated user uploading malicious vector data. The auto-migration to JSON format in the patch reduces future exposure by moving away from pickle entirely for new deployments. |
| Exploit ScenarioDerived | An attacker with valid credentials to mem0 uploads or injects a crafted vector document or index file containing a malicious pickle payload. When the mem0 application loads the FAISS index (on startup or collection access), the unsafe pickle.load() deserializes the malicious object, triggering arbitrary code execution on the server with the privileges of the mem0 process. Publicly available exploit code demonstrates this technique, likely showing pickle gadget chains to achieve RCE. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 01, 2026
Unsafe pickle deserialization in mem0 up to version 1.0.11 allows authenticated remote attackers to execute arbitrary code via manipulation of the faiss.py vector store module. The vulnerability affects the pickle.load/pickle.dump functions used to serialize docstore data, enabling code execution with moderate impact (confidentiality, integrity, availability). Public exploit code is available, and vendor has released a patched version.
RemediationAI
Upgrade mem0 to version 1.0.12 or later, which includes commit 62dca096f9236010ca15fea9ba369ba740b86b7a containing the SafeUnpickler implementation. The fix maintains backward compatibility by attempting to load from JSON format first (safe), then falling back to SafeUnpickler for legacy pickle files, with automatic migration to JSON format on load. For users unable to upgrade immediately: (1) restrict write access to vector store files (.pkl, .json) to trusted processes only, implementing file-system level ACLs; (2) disable or restrict APIs that allow uploading or modifying vector data if possible, as the attack surface requires either file-system write access or authenticated API calls; (3) monitor vector store directories for unauthorized modifications. Note that these controls do not prevent exploitation if an attacker has authenticated API access-they only reduce surface area. Patching is the definitive mitigation. The auto-migration to JSON on first load after patching eliminates pickle usage, providing defense in depth against future pickle-related vulnerabilities.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in pypi, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The mem0 vector store implementation uses Python's pickle module to serialize and deserialize FAISS index metadata (docstore and index_to_id mappings) in mem0/vector_stores/faiss.py. Pickle is inherently unsafe for untrusted data because it can deserialize arbitrary Python objects and execute code during unpickling. An attacker who can control the pickled file contents-either by manipulating stored vector data or intercepting file operations-can craft a malicious pickle payload that executes arbitrary Python code when loaded. This is a textbook example of CWE-502 (Deserialization of Untrusted Data). The fix introduces a SafeUnpickler class that whitelists only safe built-in Python types (dict, list, str, int, float, bool, tuple, set, frozenset, NoneType) and rejects any attempt to instantiate arbitrary classes, effectively neutering the deserialization attack vector while maintaining backward compatibility with existing pickle files.
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:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
5DescriptionCVE.org
A vulnerability was found in mem0ai mem0 up to 1.0.11. This affects the function pickle.load/pickle.dump of the file mem0/vector_stores/faiss.py. Performing a manipulation results in deserialization. It is possible to initiate the attack remotely. The exploit has been made public and could be used. The patch is named 62dca096f9236010ca15fea9ba369ba740b86b7a. Applying a patch is the recommended action to fix this issue.
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
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
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
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
mem0 1.0.0 server accepts unauthenticated POST requests to the /memories endpoint, allowing remote attackers to inject a
EUVD-2026-26721
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB