製品・ソフトウェアに関する情報
BETTER-AUTH.のBetter Auth OAuth Providerにおける不正な認証に関する脆弱性
Title BETTER-AUTH.のBetter Auth OAuth Providerにおける不正な認証に関する脆弱性
Summary

Better AuthはTypeScript向けの認証および認可ライブラリです。バージョン1.6.5以前では、clientPrivilegesオプションがcreateアクションを文書化していましたが、OAuthクライアント作成エンドポイントは新しいクライアントを保存する前にフックを呼び出していませんでした。clientPrivilegesを設定してクライアント登録を制限している環境では、実際には制限が効果を持たず、認証された任意のユーザーがcreateエンドポイントにアクセスし、攻撃者が選択したリダイレクトURIやメタデータを持つOAuthクライアントを登録できてしまいました。この脆弱性はバージョン1.6.5で修正されています。

Possible impacts 当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date April 24, 2026, midnight
Registration Date May 15, 2026, 10:54 a.m.
Last Update May 15, 2026, 10:54 a.m.
CVSS3.0 : 警告
Score 6.5
Vector CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Affected System
BETTER-AUTH.
Better Auth OAuth Provider 1.4.8
Better Auth OAuth Provider 1.4.9 以上 1.6.5 未満
Better Auth OAuth Provider 1.7.0
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年05月15日]
  掲載
May 15, 2026, 10:54 a.m.

NVD Vulnerability Information
CVE-2026-41427
Summary

Better Auth is an authentication and authorization library for TypeScript. Prior to 1.6.5, the clientPrivileges option documents a create action, but the OAuth client creation endpoints did not invoke the hook before persisting new clients. Deployments that configured clientPrivileges to restrict client registration were not actually restricted — any authenticated user could reach the create endpoints and register an OAuth client with attacker-chosen redirect URIs and metadata. This vulnerability is fixed in 1.6.5.

Publication Date April 25, 2026, 5:16 a.m.
Registration Date April 26, 2026, 4:07 a.m.
Last Update April 28, 2026, 3:57 a.m.
Related information, measures and tools
Common Vulnerabilities List