7.1high
better-auth passkey before 1.4.0 IDOR via delete-passkey
- Severity
- 7.1high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-4vcf-q4xf-f48m
Description
better-auth passkey versions before 1.4.0 contain an insecure direct object reference vulnerability in the passkey deletion endpoint that allows authenticated users to delete arbitrary passkeys by ID. Attackers with valid sessions can submit crafted requests to the delete-passkey endpoint with enumerated passkey IDs to remove other users' passkeys.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| better-auth passkey | before 1.4.0 Not affected: 1.4.0 | CVE List |
| @better-auth/passkey (npm) | before 1.4.0 | GitHub Advisory Database |
All scores
| VulnCheck | 7.1high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N |
| VulnCheck | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L |
| GitHub | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L |
Classification
What each source says
CVE List
better-auth passkey versions before 1.4.0 contain an insecure direct object reference vulnerability in the passkey deletion endpoint that allows authenticated users to delete arbitrary passkeys by ID. Attackers with valid sessions can submit crafted requests to the delete-passkey endpoint with enumerated passkey IDs to remove other users' passkeys.
GitHub Advisory Database
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.
NVD (es)
Las versiones de better-auth passkey anteriores a la 1.4.0 contienen una vulnerabilidad de referencia directa e insegura a objetos en el endpoint de eliminación de passkeys que permite a usuarios autenticados eliminar passkeys arbitrarias por ID. Atacantes con sesiones válidas pueden enviar solicitudes manipuladas al endpoint de eliminación de passkeys con IDs de passkey enumerados para eliminar las passkeys de otros usuarios.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-71400 changed 2026-10-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4vcf-q4xf-f48m changed 2026-08-03 | CC-BY-4.0 |
| NVD | CVE-2025-71400 changed 2026-10-08 | Public domain |