kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-45337 Better Auth: Device authorization approve and deny accept any authenticated session while the user code is pending

설명

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.

영향 받는 제품 제품 1개

  • better-auth

    better-auth

    해결 버전 있음

    영향 받는 버전

    • 1.6.0 이상 1.6.11 미만

    해결 버전

    • 1.6.11 이상

참고 자료 4건

‹ 목록

점검 지원 범위 문의

도입 문의