Vulnerability · Published May 12, 2026 · Assigned by mitre
CVE-2026-31241
Medium 6.5
In plain English
A medium-severity missing authorization in the mem0ai package (PyPI). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities).
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | mem0ai | no fix listed | GHSA-gq6f-qwv9-rf4j |
| PyPI | mem0ai | no fix listed | PYSEC-2026-2634 |
Affected products (as reported)
Weakness: CWE-862, CWE-306 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L