CVE-2026-45337: Better Auth is an authentication and authorization library for TypeScript
CVE-2026-45337 is a high-severity flaw (CVSS 7.6) affecting better auth. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- High severity
A fixed release or distro patch exists.
Last updated 2026-07-21 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-45337?
better auth: upgrade to 1.6.11. Exact commands for each OS are on this page.
Is CVE-2026-45337 being exploited?
CVE-2026-45337 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-45337 affect?
CVE-2026-45337 affects better auth. Severity is high (CVSS 7.6). 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 t
How urgent is CVE-2026-45337?
Priority 30/100. High severity
Related CVEs
- CVE-2026-53518 HIGH 8.1 UPGRADE UPGRADE Better Auth is an authentication and authorization library for TypeScript
- CVE-2026-53517 HIGH 8.1 UPGRADE UPGRADE Better Auth is an authentication and authorization library for TypeScript
- CVE-2026-53513 CRITICAL 9.6 UPGRADE UPGRADE Better Auth is an authentication and authorization library for TypeScript
- CVE-2026-53515 HIGH 7.1 UPGRADE UPGRADE Better Auth is an authentication and authorization library for TypeScript
- CVE-2026-53516 HIGH 8.3 UPGRADE Better Auth is an authentication and authorization library for TypeScript