Browse / Agent Context and Memory Poisoning / CVE-2026-31245
mem0 server lacks authentication and authorization controls for its memory creation API endpoint
- Class
- Agent Context and Memory Poisoning (filed by a model that read the advisory)
- Technique
- Authentication and access control
- Also involves
- AI Framework and Platform Flaws
- Affected
- mem0ai (PyPI)
- CVSS
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- EPSS
- 0.3% chance of exploitation in 30 days
How it works, in short
The memory creation endpoint accepts unauthenticated POST requests, so anyone can inject arbitrary memory records that later sessions retrieve. (Our summary, written by a model. The source text is below.)
Details
The mem0 1.0.0 server lacks authentication and authorization controls for its memory creation API endpoint (POST /memories). The endpoint allows unauthenticated users to submit arbitrary memory records without verifying their identity or permissions. A remote attacker can exploit this by sending unauthenticated POST requests to create malicious or spoofed memory entries in the database, leading to unauthorized data injection and potential data pollution.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-31245
- https://github.com/mem0ai/mem0
- https://www.notion.so/CVE-2026-31245-35d1e1393188810aab57ff9b49146b05
Source: GitHub Advisory Database, used under CC BY 4.0.