CVE-2026-59705: mem0 OpenMemory API unauthenticated access in memory endpoints

CVE-2026-59705 · Severity: critical · CVSS 9.8 · Published 2026-07-07

Mem0 is a memory layer used by AI agents to store and retrieve user interactions. A security flaw in its self-hosted API component allows anyone on the network to read, modify, or delete private user data without a password. Additionally, an attacker could disable the memory service for all users simultaneously, leading to a complete service outage and loss of sensitive information.

Technologies: Mem0ai Mem0. Vendors: Mem0ai.

Quick answers

Is CVE-2026-59705 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-59705 being exploited in the wild.
How severe is CVE-2026-59705?
Critical severity, with a CVSS score of 9.8, published 7 July 2026.
Which products and versions are affected?
Mem0ai Mem0 up to and including commit a3154d5.
Is there a fix for CVE-2026-59705?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-59705 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-59705?
Check whether you run Mem0ai Mem0 at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A missing authentication vulnerability exists in the OpenMemory self-hosted API (openmemory/api) due to API routers being registered without authentication middleware in main.py. The root cause is a failure to implement CWE-306 (Missing Authentication for Critical Function), where endpoint handlers accept a user_id parameter without verifying the caller's identity or session. Attackers can exploit this by supplying arbitrary user_id values to access private data, or by calling the /api/v1/memories/actions/pause endpoint with global_pause=true to cause a denial-of-service across all tenants. The vulnerability was identified in commit a3154d5 and affects all endpoints including memory retrieval, update, and deletion.

Affected products

  • mem0ai mem0ai/mem0 (OpenMemory API) up to and including commit a3154d5

Timeline

  • 2026-06-01: disclosed: Vulnerability reported to vendor via email
  • 2026-07-03: other: Public GitHub issue opened after no vendor response
  • 2026-07-07: advisory: CVE published and VulnCheck advisory released

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.