CVE-2026-45337 json
Better Auth: Device authorization approve and deny accept any authenticated session while the user code is pending
published 5mo ago modified 3mo ago also EUVD-2026-44743 , GHSA-cq3f-vc6p-68fh
- cvss
- 7.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 11%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm better-auth 1.6.11
- better-auth better_auth 1.6.11
Is CVE-2026-45337 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 3mo ago
Exploit prediction
0.21% chance of exploitation in the next 30 days, higher than 11% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L |
| GitHub | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | better-auth | >=1.6.0, <1.6.11 |
1.6.11 |
Affected products
- better-auth better-auth
Classification
References
-
github.com
/better-auth/better-auth/pull/9573
web, issue-tracking, patch
-
github.com
/better-auth/better-auth/commit/99a254a79b59d5a3f5ca2123260118cddb5beed7
patch
-
github.com
/better-auth/better-auth/security/advisories/GHSA-cq3f-vc6p-68fh
web, mitigation, vendor-advisory
-
github.com
/better-auth/better-auth/releases/tag/v1.6.11
web, release-notes
-
github.com
/better-auth/better-auth
package
Sources
- CVE List CVE-2026-45337
- GitHub Advisory GHSA-cq3f-vc6p-68fh
- NVD CVE-2026-45337
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.