PatchSiren cyber security CVE debrief
CVE-2026-45337 better-auth CVE debrief
CVE-2026-45337 is a high-severity authentication bypass vulnerability in Better Auth, a TypeScript library used for authentication and authorization. Versions 1.6.0 to 1.6.10 are affected by this vulnerability, which allows an authenticated attacker to bind a polling device to their account or deny the legitimate flow due to inadequate session validation in the deviceAuthorization plugin. The vulnerability is fixed in version 1.6.11. This issue has a significant impact on the security of applications using Better Auth, as it could allow attackers to bypass authentication mechanisms. Users of Better Auth library versions 1.6.0 through 1.6.10 should apply patch 1.6.11 immediately to prevent authentication bypass attacks.
- Vendor
- better-auth
- Product
- Unknown
- CVSS
- HIGH 7.6
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-07-15
- Original CVE updated
- 2026-07-21
- Advisory published
- 2026-07-15
- Advisory updated
- 2026-07-21
Who should care
Users of Better Auth library versions 1.6.0 through 1.6.10 should apply patch 1.6.11 to prevent authentication bypass attacks. This vulnerability affects applications using Better Auth for authentication and authorization, particularly those with high-security requirements. Security teams and administrators responsible for maintaining and updating software dependencies should prioritize patching this vulnerability. Additionally, developers using Better Auth in their applications should review their code to ensure that they are not inadvertently introducing additional vulnerabilities.
Technical summary
The deviceAuthorization plugin in Better Auth incorrectly treats any authenticated session as the owner of pending device codes due to inadequate session validation. Specifically, the GET /device endpoint does not claim the row, and POST /device/approve and POST /device/deny endpoints short-circuit when userId is unset. This allows an authenticated attacker who obtains a valid user_code to bind the polling device to their account or deny the legitimate flow. The vulnerability is fixed in version 1.6.11.
Defensive priority
High priority to patch for authentication bypass vulnerability
Recommended defensive actions
- Apply patch version 1.6.11
- Review and update affected installations
- Monitor for suspicious authentication activity
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.
- Check relevant monitoring, detection, and logs for exposed assets that need extra review.
Evidence notes
Official CVE and NVD records confirm vulnerability details. Vendor patch and advisory available. The deviceAuthorization plugin in Better Auth incorrectly treats any authenticated session as the owner of pending device codes due to inadequate session validation. Specifically, the GET /device endpoint does not claim the row, and POST /device/approve and POST /device/deny endpoints short-circuit when userId is unset. This allows an authenticated attacker who obtains a valid user_code to bind the polling device to their account or deny the legitimate flow. Users of Better Auth library versions 1.6.0 through 1.6.10 should apply patch 1.6.11 to prevent authentication bypass attacks.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-45337 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-45337
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-45337 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-45337
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/better-auth/better-auth/commit/99a254a79b59d5a3f5ca2123260118cddb5beed7
[email protected] - Patch
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/better-auth/better-auth/pull/9573
[email protected] - Issue Tracking, Patch
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/better-auth/better-auth/releases/tag/v1.6.11
[email protected] - Release Notes
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/better-auth/better-auth/security/advisories/GHSA-cq3f-vc6p-68fh
[email protected] - Mitigation, Vendor Advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.