Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-45337: Better Auth is an authentication and authorization library for TypeScript

30
Routine
HIGH 7.6UPGRADE

CVE-2026-45337 is a high-severity flaw (CVSS 7.6) affecting better auth. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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

Why this priority

  • High severity

A fixed release or distro patch exists.

Risk facts

CVSS score7.6 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionRequired
EPSS exploit chance0.2% (top 88%)
CISA exploited listNo
WeaknessCWE-285, CWE-345
Published2026-07-15
Last modified2026-07-21
Publisher (CNA): GitHub, Inc. · Vendor: better-auth

Share: LinkedIn · X · Reddit

Last updated 2026-07-21 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

better-auth better auth UPGRADE
Affected: >= 1.6.0 and < 1.6.11
Fixed in: 1.6.11
Safe to downgrade to: a release before 1.6.0
1. Check installed version
npm ls better-auth
2. UPGRADE to 1.6.11
npm install better-auth@">=1.6.11"
3. If no update is available yet, DOWNGRADE to a release before 1.6.0
npm view better-auth versions npm install better-auth@"<1.6.0"
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-45337?

better auth: upgrade to 1.6.11. Exact commands for each OS are on this page.

Is CVE-2026-45337 being exploited?

CVE-2026-45337 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-45337 affect?

CVE-2026-45337 affects better auth. Severity is high (CVSS 7.6). 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 t

How urgent is CVE-2026-45337?

Priority 30/100. High severity

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.