CVE-2026-45337

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

HIGH
7.6
CVSS Score
Published: July 15, 2026 at 05:31 PM UTC
Updated: July 21, 2026 at 04:39 AM UTC
1 product affected across 1 vendorAuth Better Auth

Using better-auth by better-auth?

Get instant alerts when new vulnerabilities affect better-auth - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.6
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.6.111.6.0 ≤ v < 1.6.11
Affected range stops below 1.6.11, so it looks safe — our inference, not a vendor statement

References (4)

x_refsource_CONFIRMMitigationVendor Advisory
Source: cverecord
https://github.com/better-auth/better-auth/security/advisories/GHSA-cq3f-vc6p-68fh
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/better-auth/better-auth/pull/9573
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/better-auth/better-auth/releases/tag/v1.6.11

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.6HIGHGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
LOW
Vector?

Quick Info

StatusANALYZED
CWE
CWE-285CWE-345

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card