doorkeeper-openid_connect に 認証バイパス (CVE-2026-44476)
概要
doorkeeper-openid_connect に 認証バイパス (CVE-2026-44476) が存在。不正な操作・情報露出のリスクがあります。POST /oauth/registration 経由で攻撃可能。対策: 1.10.0 以上に更新。
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
Impact
The DynamicClientRegistrationController#register action hard-codes confidential: false when creating applications (dynamic_client_registration_controller.rb:18-25), yet the response includes a client_secret and advertises token_endpoint_auth_methods_supported: ["client_secret_basic", "client_secret_post"].
Because Doorkeeper's Application.by_uid_and_secret treats a blank/missing secret as valid for non-confidential (public) clients, an
attacker who knows only the client_id (which is public information) can authenticate as the dynamically-registered client at the token endpoint.
Note that Dynamic Client Registration is opt-in feature which is disabled by default so only projects that explicitly enabled it are affected.
Steps to Reproduce
- Enable dynamic client registration in the initializer
- POST /oauth/registration with client_name, redirect_uris, and scope
- Observe: response returns client_secret, but the created
Doorkeeper::Application has confidential: false - Call
Doorkeeper::Application.by_uid_and_secret(client_id, nil)— it
returns the application (credentials bypass) - POST /oauth/token with grant_type=client_credentials and only
client_id (no client_secret) — the token endpoint issues an access token
without any secret verification
Patches
Patched in 1.10.0
Workarounds
Upgrade existing applications created with a Dynamic Client registration to have confidential: true
出典: GitHub Security Advisories (Global) NVD GitHub Advisory
自動生成の要約
取得元のデータ (CVSS・CWE・影響バージョンなど) から SecPulse が定型文で組み立てた要約です。AI は使っていません。正確な内容は下の原文と参照URLで確認してください。
doorkeeper-openid_connect という製品で、CVE-2026-44476 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに POST /oauth/registration のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
不正な操作・情報露出のリスクがあります。
対策: doorkeeper-openid_connect を 1.10.0 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「doorkeeper-openid_connect CVE-2026-44476」を検索してください。
CVE-2026-44476 (doorkeeper-openid_connect) — CWE-287
脆弱箇所: POST /oauth/registration / POST /oauth/token / Application.by_uid_and_secret
修正バージョン: 1.10.0 (即時適用推奨)
暫定回避: Upgrade existing applications created with a Dynamic Client registration to have confidential: true
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
doorkeeper-openid_connect に 認証バイパス (CWE-287) があります。攻撃者は POST /oauth/registration を経由して脆弱な処理に到達できます。
doorkeeper-openid_connect の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: POST /oauth/registration / POST /oauth/token / Application.by_uid_and_secret。
重要度: ?。不正な操作・情報露出のリスクがあります。
1.10.0 に更新してください。
暫定回避: Upgrade existing applications created with a Dynamic Client registration to have confidential: true
Webサーバ・プロキシ・WAFのアクセスログで POST /oauth/registration への異常リクエスト (不正な認証ヘッダ、SQL構文)を検索。 依存ファイル (package-lock.json/requirements.txt/go.sum) で doorkeeper-openid_connect のバージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1影響範囲の特定 identify
grep -r 'doorkeeper-openid_connect' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
doorkeeper-openid_connectを grep し、稼働しているサービス・バージョンを把握する。 -
2ログでの侵入兆候検索 detect
grep 'POST /oauth/registration' /var/log/nginx/access.log | grep -E '(unusual_payload|sqli_pattern)'アクセスログで
POST /oauth/registrationへの異常なリクエスト (不正な認証ヘッダ・SQLメタ文字)を過去 30〜90日分捜索。WAF/SIEM があれば該当パスのアラート発火履歴を確認。 -
3暫定回避策の適用 mitigate
Upgrade existing applications created with a Dynamic Client registration to have `confidential: true`パッチが適用されるまでの応急処置として、Upgrade existing applications created with a Dynamic Client registration to have
confidential: trueを実施。回避策の副作用 (機能低下) を確認した上で。 -
4パッチ適用 patch
Upgrade doorkeeper-openid_connect to 1.10.0ステージング環境で 1.10.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 2 で見つけた異常検知の続報チェックを含めること。
-
5事後検証 verify
Replay attack against POST /oauth/registration on staging to confirm patch closes the vectorパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 2 と同じログクエリでアラート再発が無いか継続監視。
影響パッケージ
参照URL
- package github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web cve.org
- web security-advisories@github.com