{"id":"CVE-2026-45337","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-45337","generatedAt":"2026-10-28T02:56:16.326Z","title":"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…","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.","published":"2026-07-15T18:16:46.000Z","lastModified":"2026-07-21T04:21:25.000Z","status":"Analyzed","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":7.6,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L"},"cwe":["CWE-285","CWE-345"],"affected":["better-auth/better auth"],"epss":{"score":0.00214,"percentile":0.11607,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.21%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://github.com/better-auth/better-auth/commit/99a254a79b59d5a3f5ca2123260118cddb5beed7","tags":["Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/better-auth/better-auth/pull/9573","tags":["Issue Tracking","Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/better-auth/better-auth/releases/tag/v1.6.11","tags":["Release Notes"],"source":"security-advisories@github.com"},{"url":"https://github.com/better-auth/better-auth/security/advisories/GHSA-cq3f-vc6p-68fh","tags":["Mitigation","Vendor Advisory"],"source":"security-advisories@github.com"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-45337","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}