oauth2_proxy projectのoauth2_proxyにおけるスプーフィングによる認証回避に関する脆弱性
タイトル oauth2_proxy projectのoauth2_proxyにおけるスプーフィングによる認証回避に関する脆弱性
概要

OAuth2 ProxyはOAuth2プロバイダを使用して認証を提供するリバースプロキシです。バージョン7.15.2より前のバージョンには、OAuth2 Proxyがauth_requestスタイルの統合(nginx auth_requestなど)で使用され、かつ--ping-user-agentが設定されているか、または--gcp-healthchecksが有効になっているデプロイメントにおいて、設定に依存した認証回避の脆弱性が存在しました。影響を受ける構成では、OAuth2 Proxyは要求されたパスに関係なく、設定されたヘルスチェックのUser-Agent値を持つ任意のリクエストを成功したヘルスチェックとして扱います。そのため、認証されていない遠隔の攻撃者が認証を回避し、保護された上流リソースにアクセスできる可能性があります。auth_requestスタイルのサブリクエストを使用していない、または--ping-user-agent/--gcp-healthchecksを有効にしていないデプロイメントは影響を受けません。この問題はバージョン7.15.2で修正されました。

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

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

公表日 2026年4月14日0:00
登録日 2026年4月24日11:44
最終更新日 2026年4月24日11:44
CVSS3.0 : 緊急
スコア 9.1
ベクター CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
影響を受けるシステム
oauth2_proxy project
oauth2_proxy 7.15.2 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
変更履歴
No 変更内容 変更日
1 [2026年04月24日]
  掲載
2026年4月24日11:44

NVD脆弱性情報
CVE-2026-34457
概要

OAuth2 Proxy is a reverse proxy that provides authentication using OAuth2 providers. Versions prior to 7.15.2 contain a configuration-dependent authentication bypass in deployments where OAuth2 Proxy is used with an auth_request-style integration (such as nginx auth_request) and either --ping-user-agent is set or --gcp-healthchecks is enabled. In affected configurations, OAuth2 Proxy treats any request with the configured health check User-Agent value as a successful health check regardless of the requested path, allowing an unauthenticated remote attacker to bypass authentication and access protected upstream resources. Deployments that do not use auth_request-style subrequests or that do not enable --ping-user-agent/--gcp-healthchecks are not affected. This issue is fixed in 7.15.2.

公表日 2026年4月15日8:16
登録日 2026年4月15日11:42
最終更新日 2026年4月23日23:14
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:oauth2_proxy_project:oauth2_proxy:*:*:*:*:*:*:*:* 7.15.2
関連情報、対策とツール
共通脆弱性一覧