Skip to main content
VulnerabilityPublished

Better Auth Passkey Plugin allows passkey deletion through IDOR

Affects @better-auth/passkeySource GCVE Database

0

CVSS 7.1 High : upgrade to 1.4.0 soon.

Data as of 19 Nov 2026, 02:24 UTC

CVSS 3.1 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
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:L

What to do

Upgrade @better-auth/passkey to 1.4.0.

Affected software

ProductAffectedFixed in
npm@better-auth/passkeyAffected
  • <1.4.0
Fixed in
  • 1.4.0

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.

References

Community reviews

Loading reviews…