FR
live
High CVSS 7.6

CVE-2026-45337

Better-auth Better Auth

Better Auth is an authentication and authorization library for TypeScript. From 1.6.0 until 1.6.11, the deviceAuthorization plugin treats any authenticated session as the owner of any pending device code because GET /device does not claim the row and POST /device/approve and POST /device/deny short-circuit when userId is unset, allowing an authenticated attacker who learns a valid user_code to bind the polling device to the attacker's account or deny the legitimate flow. This issue is fixed in version 1.6.11.

What this means

Exposure
Exploitable remotely over the network and with an ordinary user account — but only if a user opens booby-trapped content.
Impact
An attacker can read sensitive data, modify or destroy data and degrade the service.
Weakness
Authorisation is not checked in the right place, so a user acts outside their scope.
Likelihood
Its EPSS score stays low: nothing points to imminent exploitation, which is no reason to leave it unpatched.

What to doFold into the next patch cycle.

Read automatically from the CVSS vector, the weakness type (CWE) and the EPSS score. The technical description above remains the one published by NIST.

Published
15 July 2026
CVSS
7.6 (v3.1) CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
EPSS
0.14% probability of exploitation within 30 days · above 4% of all CVEs
Weakness
CWE-285CWE-345
Sources
nvd
References

Type at least two characters.

navigate open esc dismiss