CVE-2026-45337
Last modified
CVE-2026-45337 is a high-severity vulnerability rated 7.6/10 on the CVSS scale. 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. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Better-Auth | Better Auth | >= 1.6.0, < 1.6.11 |
References
- https://github.com/better-auth/better-auth/pull/9573Issue Tracking, Patch
- https://github.com/better-auth/better-auth/security/advisories/GHSA-cq3f-vc6p-68fhMitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-45337?
How severe is CVE-2026-45337?
How do I fix CVE-2026-45337?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-45330Decidim is a participatory democracy framework. Prior to 0.3…4.9
- CVE-2026-45331Open WebUI is a self-hosted artificial intelligence platform…8.5
- CVE-2026-45332Automad is a flat-file content management system and templat…7.5
- CVE-2026-45334Kirby is an open-source content management system. In versio…5.3
- CVE-2026-45335WeGIA is a web manager for charitable institutions. Prior to…5.4
- CVE-2026-45336HireFlow is a web-based interview management system for mana…10
- CVE-2026-45338Open WebUI is a self-hosted artificial intelligence platform…7.7
- CVE-2026-45339Open WebUI is a self-hosted artificial intelligence platform…6.5
- CVE-2026-4534A flaw has been found in Tenda FH451 1.0.0.9. This affects t…8.8
- CVE-2026-45342LinkAce is a self-hosted archive to collect website links. P…7.1
- CVE-2026-45343LinkAce is a self-hosted archive to collect website links. P…8.5
- CVE-2026-45344LinkAce is a self-hosted archive to collect website links. P…8.1
Are you affected by CVE-2026-45337?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
