Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @better-auth/passkey
  4. ›
  5. GHSA-4vcf-q4xf-f48m

GHSA-4vcf-q4xf-f48m: Better Auth Passkey Plugin allows passkey deletion through IDOR

November 25, 2025

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.

References

  • github.com/advisories/GHSA-4vcf-q4xf-f48m
  • github.com/better-auth/better-auth
  • github.com/better-auth/better-auth/commit/06d68239e
  • github.com/better-auth/better-auth/security/advisories/GHSA-4vcf-q4xf-f48m

Code Behaviors & Features

Detect and mitigate GHSA-4vcf-q4xf-f48m with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.4.0

Fixed versions

  • 1.4.0

Solution

Upgrade to version 1.4.0 or above.

Impact 7.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control
  • CWE-639: Authorization Bypass Through User-Controlled Key

Source file

npm/@better-auth/passkey/GHSA-4vcf-q4xf-f48m.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 04 Dec 2025 12:19:36 +0000.