{"id":"CVE-2026-31240","aliases":["GHSA-jfv9-68m5-gjjr","PYSEC-2026-2635"],"title":"mem0 server lacks authentication and authorization controls for its memory management API endpoints","summary":"mem0 server lacks authentication and authorization controls for its memory management API endpoints","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","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-jfv9-68m5-gjjr","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31240"},{"url":"https://github.com/mem0ai/mem0"},{"url":"https://www.notion.so/CVE-2026-31240-35d1e13931888170964ae035c04a8f18"}],"tags":["osv","pip"],"epss":0.00372,"epssPercentile":0.31112,"ingestedAt":"2026-07-13T18:57:59.686Z","slug":"CVE-2026-31240","body":"## Overview\n\nThe mem0 1.0.0 server lacks authentication and authorization controls for its memory management API endpoints. Critical functions such as updating memory records (PUT /memories/{memory_id}) are exposed without any verification of the requester's identity or permissions. A remote attacker can exploit this by sending unauthenticated requests to modify, overwrite, or delete arbitrary memory records, leading to unauthorized data manipulation and potential data loss.\n\n## Affected packages\n\n- `mem0ai <= 1.0.0`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":41.3,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}