BETTER-AUTH.のBetter Authにおける複数の脆弱性
| Title |
BETTER-AUTH.のBetter Authにおける複数の脆弱性
|
| Summary |
Better AuthはTypeScript用の認証および認可ライブラリです。バージョン1.6.0から1.6.11の間、deviceAuthorizationプラグインは、GET /deviceがクレームを行わないため、認証されたセッションを保留中の任意のデバイスコードの所有者として扱っていました。また、POST /device/approveおよびPOST /device/denyはuserIdが未設定の場合にショートサーキットするため、有効なuser_codeを知っている認証済みの攻撃者がポーリングデバイスを攻撃者のアカウントに紐付けたり、正当なフローを拒否したりすることが可能でした。この問題はバージョン1.6.11で修正されています。
|
| Possible impacts |
・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアの一部が停止する可能性があります。 |
| Solution |
ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
July 15, 2026, midnight |
| Registration Date |
July 22, 2026, 10:20 a.m. |
| Last Update |
July 22, 2026, 10:20 a.m. |
|
CVSS3.0 : 重要
|
| Score |
7.6
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L |
Affected System
| BETTER-AUTH. |
|
Better Auth 1.6.0 以上 1.6.11 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年07月22日] 掲載 |
July 22, 2026, 10:20 a.m. |
NVD Vulnerability Information
CVE-2026-45337
| Summary |
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.
|
| Publication Date |
July 16, 2026, 3:16 a.m. |
| Registration Date |
July 16, 2026, 4:28 a.m. |
| Last Update |
July 16, 2026, 3:16 a.m. |
Related information, measures and tools
Common Vulnerabilities List