High, CVSS 7.1npmAmendedPublished
Better Auth Passkey Plugin allows passkey deletion through IDOR
CVE-2025-71400 · GHSA-4vcf-q4xf-f48m
- Affected
- npm @better-auth/passkey < 1.4.0
- Fixed in
- 1.4.0· Vendor fix available
- Issue
- Affected versions of the better-auth passkey plugin allow users with any valid session to delete arbitrary passkeys via their ID using POST /passkey/delete-passkey. Details ctx.body.id is implicitly trusted and used in passkey deletion queries. better-auth applications configured with useNumberId may use auto incrementing IDs which makes it trivial to delete all passkeys via enumeration.
Recommended action: Upgrade to 1.4.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.