CVE-2025-71400
JSON

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 packageVersionsReported by
better-auth passkeybefore 1.4.0
Not affected: 1.4.0
CVE List
@better-auth/passkey (npm)before 1.4.0GitHub Advisory Database

All scores

VulnCheck7.1high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
VulnCheck7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
GitHub7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L

Classification

CWE-284CWE-639

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

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

SourceRecordLicence
CVE ListCVE-2025-71400 changed 2026-10-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-4vcf-q4xf-f48m changed 2026-08-03CC-BY-4.0
NVDCVE-2025-71400 changed 2026-10-08Public domain