Better Auth Passkey Plugin allows passkey deletion through IDOR
Affects @better-auth/passkeySource GCVE Database
CVSS 7.1 High : upgrade to 1.4.0 soon.
Data as of 19 Nov 2026, 02:24 UTC
- Patch
- Available – fixed in 1.4.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:LWhat to do
Upgrade @better-auth/passkey to 1.4.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@better-auth/passkey | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in Better Auth Passkey Plugin version 1.4.0 that fixes this vulnerability. Users should upgrade to version 1.4.0 or later to remediate the issue. Until patched, restrict access to the passkey deletion endpoint to authorized users only and validate ownership of passkeys before deletion.
Description
The Better Auth Passkey Plugin versions prior to 1.4.0 contain an Insecure Direct Object Reference (IDOR) vulnerability that allows any user with a valid session to delete arbitrary passkeys by specifying their ID. This occurs because the plugin implicitly trusts the passkey ID provided in the deletion request without proper authorization checks. Applications using auto-incrementing numeric IDs are particularly vulnerable, as attackers can enumerate IDs to delete all passkeys.