← Vulnerability feed

Vulnerability record · CVE-2026-45337 · published 15 July 2026

CVE-2026-45337: Better-auth better auth improper authorization vulnerability

Better Auth · Better Auth

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.

7.6 CVSS 3.1 High EPSS 0.21% · top 89.5% CWE-285 · Improper authorizationCWE-345 · Insufficient verification of data authenticity
7.6CVSS 3.1 base score
0.21%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References
21 Jul 2026Last modified by NVD

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:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-45337 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.6CVE-2026-53513Better-auth\/sso improper input validation vulnerabilityBetter Auth is an authentication and authorization library for TypeScript. Prior to 1.6.11, the @better-auth/sso plugin's POST /sso/register and POST…EPSS 0.25%9.1CVE-2026-53512Better-auth better auth improper authentication vulnerabilityBetter Auth is an authentication and authorization library for TypeScript. Prior to 1.6.11, the legacy oidcProvider and mcp plugins expose OAuth toke…EPSS 0.27%8.3CVE-2026-53516Better-auth better auth improper authentication vulnerabilityBetter Auth is an authentication and authorization library for TypeScript. Prior to 1.6.11, Better Auth's OAuth callback auto-link gate in handleOAut…EPSS 0.29%8.1CVE-2026-53517Better-auth\/oauth-provider race condition vulnerabilityBetter Auth is an authentication and authorization library for TypeScript. From 1.4.8-beta.7 until 1.6.11, the @better-auth/oauth-provider POST /oaut…EPSS 0.42%7.9CVE-2024-56734Better-auth better auth open redirect vulnerabilityBetter Auth is an authentication library for TypeScript. An open redirect vulnerability has been identified in the verify email endpoint of all versi…EPSS 0.40%7.7CVE-2026-53514Better-auth better auth improper authentication vulnerabilityBetter Auth is an authentication and authorization library for TypeScript. Prior to 1.6.11, and in 1.6.14 and later when invitation IDs can be obtain…EPSS 0.20%7.6CVE-2026-53518Better-auth\/oauth-provider race condition vulnerabilityBetter Auth is an authentication and authorization library for TypeScript. From 1.6.0 until 1.6.11, the @better-auth/oauth-provider POST /oauth2/toke…EPSS 0.41%7.1CVE-2026-53515Better-auth\/sso improper privilege management vulnerabilityBetter Auth is an authentication and authorization library for TypeScript. From 1.2.10 until 1.6.11, the @better-auth/sso plugin's POST /sso/register…EPSS 0.43%

Source: NIST National Vulnerability Database (record CVE-2026-45337), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.