PYSEC-2026-2634
mem0 server lacks authentication and authorization controls for its memory deletion API endpoint
At a glance
- Published
- Updated
- CVE
- CVE-2026-31241
- Aliases
- GHSA-gq6f-qwv9-rf4j
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Description
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.
Affected packages
| Package | Versions |
|---|---|
| PyPI · mem0ai | introduced 0, last affected 1.0.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-31241 ADVISORY
- https://github.com/mem0ai/mem0 PACKAGE
- https://www.notion.so/CVE-2026-31241-35d1e139318881459ae5e6f0d7dc6f0f WEB
- https://pypi.org/project/mem0ai PACKAGE
- https://github.com/advisories/GHSA-gq6f-qwv9-rf4j ADVISORY
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — PyPA Advisory Database |