All reports
High

Better Auth Passkey Plugin allows passkey deletion through IDOR

Affected versions

Affected versions
< 1.4.0
Fixed version
1.4.0

Exploitation

CVE-2025-71400

Probability of exploitation in the next 30 days: 0.35%

FIRST EPSS · 2026-11-23

Description

Summary

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.

Links

Credits

  • goksan