Better Auth Passkey Plugin allows passkey deletion through IDOR
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-284.
Summary
# 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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | @better-auth/passkey (npm) | before 1.4.0 | 1.4.0 | Patch available | GHSA-4vcf-q4xf-f48m |
- @better-auth/passkey (npm) Vendor— Affected before 1.4.0 Fixed in 1.4.0 Patch available GHSA-4vcf-q4xf-f48m
Remediation
- Fix · GHSA-4vcf-q4xf-f48m @better-auth/passkey (npm) Fixed in 1.4.0 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-4vcf-q4xf-f48m
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences