Live threats

All CVEs / Better-auth

CVE-2026-45337Better-auth Better Auth

High 7.6

Priority
46
CVSS 3.1
7.6
EPSS
—
Auth required
Yes
Published
Jul 15, 2026
Updated
Jul 21, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-285, CWE-345
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Better Auth.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm better-auth ≥ 1.6.0 < 1.6.11 1.6.11 npm install better-auth@1.6.11

Per OSV / GitHub Advisories (GHSA-cq3f-vc6p-68fh). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
better-authbetter_auth≥ 1.6.0 < 1.6.11

Official sources

References

Links published by the sources. Open them with care.