PT-2025-62894 · Unknown · Better Auth

·

CVE-2025-71400

·

Published

2025-11-25

·

Updated

2026-08-02

CVSS v4.0

7.1

High

VectorAV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions better-auth passkey versions prior to 1.4.0
Description An insecure direct object reference occurs in the passkey deletion endpoint, allowing authenticated users to delete arbitrary passkeys. Attackers with valid sessions can send crafted requests to the '/passkey/delete-passkey' endpoint by enumerating passkey IDs. The issue stems from the ctx.body.id variable being implicitly trusted during deletion queries. Applications configured with useNumberId are particularly susceptible as they may use auto-incrementing IDs, simplifying the process of deleting all passkeys through enumeration.
Recommendations Update better-auth passkey to version 1.4.0 or later.

Exploit

Fix

Improper Access Control

IDOR

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2025-71400
GHSA-4VCF-Q4XF-F48M

Affected Products

Better Auth