{"id":"CVE-2026-31241","aliases":["GHSA-gq6f-qwv9-rf4j","PYSEC-2026-2634"],"title":"mem0 server lacks authentication and authorization controls for its memory deletion API endpoint","summary":"mem0 server lacks authentication and authorization controls for its memory deletion API endpoint","severity":"medium","cvss":6.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","vendor":"mem0ai","product":"mem0ai","ecosystem":"pip","affected":["mem0ai <= 1.0.0"],"published":"2026-05-12","updated":"2026-07-13","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-gq6f-qwv9-rf4j","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31241"},{"url":"https://github.com/mem0ai/mem0"},{"url":"https://www.notion.so/CVE-2026-31241-35d1e139318881459ae5e6f0d7dc6f0f"}],"tags":["osv","pip"],"epss":0.00386,"epssPercentile":0.32544,"ingestedAt":"2026-07-13T18:57:58.546Z","slug":"CVE-2026-31241","body":"## Overview\n\nThe 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.\n\n## Affected packages\n\n- `mem0ai <= 1.0.0`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"sunlit","depthScore":36,"depthScoreParts":{"impact":35.8,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}