7.1High

CVE-2025-71400better-auth passkey before 1.4.0 IDOR via delete-passkey

better-auth passkey Published: (3 months ago)

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.

Weakness (CWE): CWE-639

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
better-auth better-auth/oauth-provider < 1.4.0
better-auth passkey < 1.4.0, fixed 1.4.0

References and patches