Advisory

GHSA-4vcf-q4xf-f48m

Also known as: CVE-2025-71400

Summary

Better Auth Passkey Plugin allows passkey deletion through IDOR

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-11-25 21:42 UTC
Modified
2026-08-03 03:56 UTC

Affected packages and fixes

@better-auth/passkey

npm · All systems

Affected

  • introduced 0, fixed 1.4.0 (semver)

Fixed versions

1.4.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences