Skip to content
Fencer Vulns
high 7.6

CVE-2026-45337 json

Better Auth: Device authorization approve and deny accept any authenticated session while the user code is pending

published 2026-06-04 5 mo ago modified 2026-07-21 3 mo ago also GHSA-cq3f-vc6p-68fh , EUVD-2026-44743

cvss
7.6
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 11%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm better-auth 1.6.11
  • better-auth better_auth 1.6.11

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
3 mo ago

Exploit prediction

0.21% chance of exploitation in the next 30 days, higher than 11% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.6 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
GitHub 3.1 7.6 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L

Affected packages

ecosystem package affected fixed in
npm better-auth
>=1.6.0, <1.6.11
1.6.11

Affected products

  • better-auth better-auth

Classification

Weakness
  • CWE-285 Improper Authorization
  • CWE-345 Insufficient Verification of Data Authenticity
  • CWE-639 Authorization Bypass Through User-Controlled Key
  • CWE-863 Incorrect Authorization

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.