GitHub Advisoryadvisory · PyPI
GHSA-gq6f-qwv9-rf4j mem0 server lacks authentication and authorization controls for its memory deletion API endpoint
MEDIUM
Official page ↗
- Aliases
- CVE-2026-31241
- Ecosystem
- PyPI
- Packages
- mem0ai
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- Weaknesses
- CWE-306
- Reviewed
- 2026-05-27
Affected packages
• PyPI mem0ai: <= 1.0.0 (no fix yet)
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.
Related
Alias · CVE (1)
- CVE-2026-31241 The mem0 1.0.0 server lacks authentication and authorization controls for its memory deletion API endpoint (DELETE /memories). vulnerability
Weakness · CWE (1)
- CWE-306 Missing Authentication for Critical Functionality weakness