CVE-2025-71400
7.1
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
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| better-auth | passkey | 0 < 1.4.0 | affected |
| better-auth | passkey | 1.4.0 | unaffected |
Weaknesses
- CWE-639: Authorization Bypass Through User-Controlled Key
References
- https://github.com/better-auth/better-auth/security/advisories/GHSA-4vcf-q4xf-f48m
- https://www.vulncheck.com/advisories/better-auth-passkey-before-idor-via-delete-passkey
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.