CVE-2026-45337Better Auth: Device authorization approve and deny accept any authenticated session while the user code is pending
- 7.6HighCVSS base score
- 0.21%Exploitation in 30 daysEPSS · top 88% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By GitHub_M
- 2 months later
· 2 months later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L |
| NVDNVD · Analyzed | 3.1 | High7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L |
- EPSS (exploitation in 30 days)
- 0.21% · top 88% of all CVEs (13 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.6.
Affected products
- affected >= 1.6.0, < 1.6.11
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmbetter-authGHSA-cq3f-vc6p-68fh (opens in a new tab)
References
References4
- https://github.com/better-auth/better-auth/security/advisories/GHSA-cq3f-vc6p-68fh (opens in a new tab)x_refsource_CONFIRM
- https://github.com/better-auth/better-auth/pull/9573 (opens in a new tab)x_refsource_MISC
- https://github.com/better-auth/better-auth/commit/99a254a79b59d5a3f5ca2123260118cddb5beed7 (opens in a new tab)x_refsource_MISC
- https://github.com/better-auth/better-auth/releases/tag/v1.6.11 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-44743 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-cq3f-vc6p-68fh (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-45337)Record last updated .