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.
CVE-2026-45337
This high-severity CVE scores 7.6 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.0%, top 96% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.6
- EG Score
- 7.6(low)
- EG Risk
- —
- EPSS
- 3.8%
- KEV
- Not listed
Published
June 4, 2026
Last Modified
July 21, 2026
Advisory Details (4)
Auto-updated Jul 15, 2026device-authoriziation: session hijack via missing owner binding on approve and deny · Advisory · better-auth/better-auth · GitHub
https://github.com/better-auth/better-auth/security/advisories/GHSA-cq3f-vc6p-68fhv1.6.11
Patch available: better-auth/better-auth v1.6.11
https://github.com/better-auth/better-auth/releases/tag/v1.6.11fix(device-authorization): bind approval to verifier session
Fix merged in better-auth/better-auth PR #9573 on 2026-05-12 — awaiting tagged release
https://github.com/better-auth/better-auth/pull/9573commit 99a254a79b59 (better-auth/better-auth)
Fix landed in better-auth/better-auth commit 99a254a79b59 — awaiting tagged release
https://github.com/better-auth/better-auth/commit/99a254a79b59d5a3f5ca2123260118cddb5beed7Vendor Advisories for CVE-2026-45337(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| better-auth | — | 1.6.11 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 6× in last 7d / 6× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:24 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-06-14 23:18 UTCEPSS rescore
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-04 15:10 UTCEG score recompute
Frequently asked(5)
What is CVE-2026-45337?
When was CVE-2026-45337 disclosed?
Is CVE-2026-45337 actively exploited?
What is the CVSS score of CVE-2026-45337?
How do I remediate CVE-2026-45337?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-45337
Is Your Infrastructure Affected by CVE-2026-45337?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.