Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Better-Auth | Better Auth | >= 1.6.0, < 1.6.11 |
Related Weaknesses (CWE)
References
- https://github.com/better-auth/better-auth/commit/99a254a79b59d5a3f5ca2123260118Patch
- https://github.com/better-auth/better-auth/pull/9573Issue TrackingPatch
- https://github.com/better-auth/better-auth/releases/tag/v1.6.11Release Notes
- https://github.com/better-auth/better-auth/security/advisories/GHSA-cq3f-vc6p-68MitigationVendor Advisory
FAQ
What is CVE-2026-45337?
CVE-2026-45337 is a vulnerability with a CVSS score of 7.6 (HIGH). 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 c...
How severe is CVE-2026-45337?
CVE-2026-45337 has been rated HIGH with a CVSS base score of 7.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-45337?
Check the references section above for vendor advisories and patch information. Affected products include: Better-Auth Better Auth.