VYPR
High severity7.6NVD Advisory· Published Jul 15, 2026· Updated Jul 21, 2026

CVE-2026-45337

CVE-2026-45337

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
better-authnpm
>= 1.6.0, < 1.6.111.6.11

Affected products

3
  • Better Auth/Better Authllm-fuzzy2 versions
    >=1.6.0,<1.6.11+ 1 more
    • (no CPE)range: >=1.6.0,<1.6.11
    • cpe:2.3:a:better-auth:better_auth:*:*:*:*:*:node.js:*:*range: >=1.6.0,<1.6.11
  • ghsa-coords
    Range: >= 1.6.0, < 1.6.11

Patches

Vulnerability mechanics

References

5

News mentions

0

No linked articles in our index yet.