Description
better-auth passkey versions before 1.4.0 contain an insecure direct object reference vulnerability in the passkey deletion endpoint that allows authenticated users to delete arbitrary passkeys by ID. Attackers with valid sessions can submit crafted requests to the delete-passkey endpoint with enumerated passkey IDs to remove other users' passkeys.
Published: 2026-08-02
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is an insecure direct object reference in the passkey deletion endpoint. An authenticated user can submit a delete request with any passkey ID, causing the target passkey to be removed without ownership verification. This defeat of the ownership check removes the target user’s credential store, potentially eliminating their access and compromising the integrity of user data.

Affected Systems

The flaw exists in the better-auth:passkey service in all productions releases before version 1.4.0. Any deployment running those earlier releases is vulnerable.

Risk and Exploitability

The CVSS score of 7.1 reflects moderate‑to‑high risk; the EPSS score is currently unavailable, but the lack of public exploits does not preclude an attacker with a valid session from performing the deletion. The attack vector is remote through crafted HTTP requests to the delete‑passkey endpoint, and the vulnerability is listed as not in the CISA KEV catalog. An attacker only needs an authenticated session; no special privilege or additional privileges are required beyond the user’s own access rights.

Generated by OpenCVE AI on August 3, 2026 at 09:17 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the better-auth:passkey service to version 1.4.0 or newer which removes the IDOR.
  • Ensure that the delete-passkey endpoint verifies that the requesting user is the owner of the passkey before performing the deletion.
  • Audit existing passkey records to confirm no unauthorized deletions have occurred since the vulnerability was present.

Generated by OpenCVE AI on August 3, 2026 at 09:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 03 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 02 Aug 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Better-auth better-auth/oauth-provider
Better-auth passkey
Vendors & Products Better-auth better-auth/oauth-provider
Better-auth passkey

Sun, 02 Aug 2026 12:45:00 +0000

Type Values Removed Values Added
Description better-auth passkey versions before 1.4.0 contain an insecure direct object reference vulnerability in the passkey deletion endpoint that allows authenticated users to delete arbitrary passkeys by ID. Attackers with valid sessions can submit crafted requests to the delete-passkey endpoint with enumerated passkey IDs to remove other users' passkeys.
Title better-auth passkey before 1.4.0 IDOR via delete-passkey
First Time appeared Better-auth
Better-auth better-auth\/oauth-provider
Weaknesses CWE-639
CPEs cpe:2.3:a:better-auth:better-auth\/oauth-provider:*:*:*:*:*:node.js:*:*
Vendors & Products Better-auth
Better-auth better-auth\/oauth-provider
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N'}


Subscriptions

Better-auth Better-auth/oauth-provider Better-auth\/oauth-provider Passkey
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-03T15:37:32.735Z

Reserved: 2026-07-18T12:38:41.077Z

Link: CVE-2025-71400

cve-icon Vulnrichment

Updated: 2026-08-03T14:46:46.717Z

cve-icon NVD

Status : Received

Published: 2026-08-02T13:16:52.387

Modified: 2026-08-03T17:16:28.987

Link: CVE-2025-71400

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T09:30:17Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key