Browse / AI Framework and Platform Flaws / CVE-2026-31241
mem0 server lacks authentication and authorization controls for its memory deletion API endpoint
- Class
- AI Framework and Platform Flaws (filed by a model that read the advisory)
- Technique
- Authentication and access control
- Affected
- mem0ai (PyPI)
- CVSS
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- EPSS
- 0.4% chance of exploitation in 30 days
How it works, in short
The mem0 DELETE /memories route has no authentication or ownership check, so any caller can erase memories for arbitrary user identifiers. (Our summary, written by a model. The source text is below.)
Details
The mem0 1.0.0 server lacks authentication and authorization controls for its memory deletion API endpoint (DELETE /memories). The endpoint allows unauthenticated users to delete memory records by specifying arbitrary user identifiers (e.g., user_id, run_id, agent_id) in the request query parameters. A remote attacker can exploit this by sending unauthenticated DELETE requests to erase memory data for any user, leading to unauthorized data loss and denial of service.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-31241
- https://github.com/mem0ai/mem0
- https://www.notion.so/CVE-2026-31241-35d1e139318881459ae5e6f0d7dc6f0f
Source: GitHub Advisory Database, used under CC BY 4.0.