What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: better-auth passkey 1.4.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-71400 or the next vulnerability affects your stack