CVE-2026-45337

HIGH CVSS 3.1: 7.6 EPSS 0.21%
Updated Jul 21, 2026
Better-Auth
Parameter Value
CVSS 7.6 (HIGH)
Affected Versions 1.6.0 — 1.6.11
Fixed In 1.6.11
Type CWE-285 (Improper Authorization), CWE-345 (Insufficient Verification of Data)
Vendor Better-Auth
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
Low
Partial disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Better-Auth Better_Auth
cpe:2.3:a:better-auth:better_auth:*:*:*:*:*:node.js:*:*
1.6.0 1.6.11