CVE-2025-71400

better-auth passkey before 1.4.0 IDOR via delete-passkey

Published Aug 2, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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
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'}

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 8, 2026, 3:21 PM
Reserved
Jul 18, 2026, 12:38 PM
Status
Deferred
Published
Aug 2, 2026, 1:16 PM
Modified
Oct 8, 2026, 4:16 PM