CVE-2026-31245 mem0 server lacks authentication and authorization controls for its memory creation API endpoint
Unauthenticated attackers can inject arbitrary memory records into the mem0 server database via the POST /memories endpoint, leading to data pollution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-31245?
CVE-2026-31245 is a medium-severity missing authorization vulnerability in n/a, published on 12 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2026-31245?
3 open source packages ship an affected version, including mem0ai. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mem0ai PyPI | All versions to 1.0.0 | None |
mem0ai PyPI | All versions to 1.0.0 | None |
mem0ai PyPI | All versions to 1.0.0 | None |
Products include Mem0 Mem0.
How do I fix CVE-2026-31245?
No fix has been published for CVE-2026-31245 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-31245 being exploited?
There is no known exploitation of CVE-2026-31245 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-cgx8-qgvr-f7vf, PYSEC-2026-2633.