CVE-2026-45337
published high CVSS 3.1 · 7.6Better Auth: Device authorization approve and deny accept any authenticated session while the user code is pending
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| better-auth | — | better-auth>= 1.6.0, < 1.6.11 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.6 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| better-auth | better-auth | >= 1.6.0, < 1.6.11 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-285 CWE-285: Improper Authorization
- CWE-345 CWE-345: Insufficient Verification of Data Authenticity
References
4Provider assertions
2GitHub_M · cna
Better Auth: Device authorization approve and deny accept any authenticated session while the user code is pending
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b79641ca3a76bcf22cbf29d1b14161f72cd47e3a6653417aa2b8c5bc8c3e28b0
- Ingested
- 23 Sep 2026, 09:15:37 UTC
- Source record
- Official CVE record