PatchSiren

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.

Official resources

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-07-15T18:16:45.580Z and has not been modified since then.