Better Auth is an authentication and authorization library for TypeScript. From 1.6.0 until 1.6.11, the…
Historical advisory recorded 25 Oct 2026 10:17:33 UTC. Read the latest advisory.
nvd · CVE-2026-45337
PublishedBetter 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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2026-45337
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Analyzed
Weakness classifications: CWE-285 · CWE-345
Original publisher date fields
published: 2026-07-15T18:16:45.580
lastModified: 2026-07-21T04:21:25.230
1 source CPE criteria · context only
- cpe:2.3:a:better-auth:better_auth:*:*:*:*:*:node.js:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON