CVE Catalog

CVE-2026-45337

HighCVSS 7.6
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.14%

4th percentile - higher than 4% of all known CVEs

Summary

A vulnerability in Better Auth versions 1.6.0 through 1.6.11 allows an authenticated attacker who knows a valid user_code to hijack a pending device authorization session. The issue stems from missing ownership checks in GET /device, POST /device/approve, and POST /device/deny endpoints.

Risk Assessment

An attacker can deny the legitimate authorization flow or bind the polling device to their own account, leading to unauthorized account access and potential data breach.

Recommendation

Upgrade Better Auth to version 1.6.11 or later immediately to remediate the vulnerability.

Other vulnerabilities in Better Auth

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS