Missing AuthenticationWeakness · CWE-306

CVE-2026-59705

CRITICAL · 9.8 CVSS v3.1 Published 2026-07-07
Patch available
A vendor patch is available. No clean upgrade release — apply the published patch.
See remediation →
100/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click Patch available 7 weeks old

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
mem0's openmemory/api component contains an unauthenticated access vulnerability that allows unauthenticated attackers to read, write, and delete arbitrary user memories by accessing API routers registered without authentication middleware. Attackers can supply arbitrary user_id parameters or directly access memory retrieval endpoints to expose private memory content, or invoke pause endpoints with global_pause=true to cause denial-of-service across all users.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · moderate confidence

mem0's openmemory/api component has a critical authentication bypass vulnerability where API routers are registered without authentication middleware. Unauthenticated attackers can read, write, and delete arbitrary user memories by supplying arbitrary user_id parameters or directly accessing memory retrieval endpoints, and can invoke pause endpoints with global_pause=true to cause denial-of-service across all users.

MitigationApply authentication middleware to all API routers in the openmemory/api component and implement proper user_id validation/authorization checks to prevent unauthorized memory access and administrative actions.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify mem0 installation and version
    Run 'pip show mem0' or check your package manager for the installed mem0 version. Compare this version against any release notes or changelogs for your deployment.
    Affected if The installed version contains the openmemory/api component and the version is unpatched for authentication bypass vulnerabilities.
  2. Locate openmemory API router definitions
    Search your codebase or installed package for API router files in the openmemory/api module. Look for files like 'routes.py', 'api.py', or similar router definitions within the openmemory directory structure.
    Affected if The openmemory/api component is present in your deployment.
  3. Inspect API router middleware configuration
    Examine the router definition files and any main API application file that includes these routers. Look for statements that register routers (such as 'include_router' in FastAPI/Starlette) and check if authentication middleware or dependency injection (for example, 'Depends(auth_required)') is applied to those router inclusions.
    Affected if Routers from openmemory/api are registered without any authentication middleware or dependency wrapping.
  4. Verify authentication requirements on memory endpoints
    Review the specific endpoint definitions within the openmemory API routers. Check each endpoint (GET, POST, DELETE for memory operations) for authentication decorators, dependencies, or middleware that enforce authorized access.
    Affected if Memory operation endpoints (read, write, delete) do not require authentication or user validation.
  5. Test unauthenticated API access
    Send HTTP requests to the deployed openmemory API endpoints without providing authentication credentials. Try accessing memory retrieval endpoints and memory modification endpoints, optionally supplying arbitrary user_id parameters in requests.
    Affected if Requests complete successfully without authentication and allow access to or modification of memory data for arbitrary user IDs.
  6. Check for global pause endpoint exposure
    Locate any pause or administrative endpoints within the openmemory API. Determine if these endpoints accept a 'global_pause' parameter and whether they are accessible without authentication.
    Affected if Pause or administrative endpoints are accessible without authentication and accept global_pause=true to affect all users.

Your environment is affected if the openmemory/api component is deployed with API routers registered without authentication middleware, allowing unauthenticated access to memory operations and administrative functions.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Patch available Apply the vendor patch
Vendor patch github.com →
Interim mitigation

Apply authentication middleware to all API routers in the openmemory/api component and implement proper user_id validation/authorization checks to prevent unauthorized memory access and administrative actions.

Have this fixed Scoped from the published advisory
  • Consultation3.0 h
  • Implementation8.0 h
  • Testing4.0 h
  • Review / QA2.0 h
17.0 hours of engineering $3,000
Get the patch applied

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,800.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-59705 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-59705 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data