INCIDENT MAP

Browse / Agent Context and Memory Poisoning / CVE-2026-31245

mem0 server lacks authentication and authorization controls for its memory creation API endpoint

CVE-2026-31245 ยท 2026-05-12 moderate

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

Source: GitHub Advisory Database, used under CC BY 4.0.