CyberRota Analysis
AI-GeneratedThe vulnerability affects the Better Auth authentication and authorization library for TypeScript versions 1.6.0 to 1.6.11, where the deviceAuthorization plugin improperly handles authenticated sessions, allowing attackers to exploit this flaw by binding a polling device to their own account or denying legitimate device authorization flows. This poses a significant risk as it can lead to unauthorized access and manipulation of user sessions. Organizations using affected versions should prioritize updating to version 1.6.11 to mitigate this high-severity risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD 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 CVEs
Other vulnerabilities affecting the same vendor(s)