製品・ソフトウェアに関する情報
GitHubのEnterprise Serverにおける不正な正規表現に関する脆弱性
Title GitHubのEnterprise Serverにおける不正な正規表現に関する脆弱性
Summary

GitHub Enterprise Serverにおいて誤った正規表現の脆弱性が確認され、攻撃者がOAuthリダイレクトURIの検証を回避できるようになっていました。攻撃者はファーストパーティOAuthアプリケーションの登録されたコールバックURLを知っている場合、悪意のある認可リンクを作成可能です。このリンクを被害者がクリックすると、OAuth認可コードが攻撃者の管理するドメインにリダイレクトされます。これにより攻撃者はOAuthアプリケーションに付与されたスコープで被害者のアカウントに不正アクセスできる可能性があります。この脆弱性はGitHub Enterprise Serverのすべてのバージョン3.21未満に影響し、3.20.1、3.19.5、3.18.8、3.17.14、3.16.17、3.15.21、3.14.26の各バージョンで修正されました。この脆弱性はGitHubバグバウンティプログラムを通じて報告されました。

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

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

Publication Date April 21, 2026, midnight
Registration Date April 30, 2026, 10:58 a.m.
Last Update April 30, 2026, 10:58 a.m.
CVSS3.0 : 重要
Score 8.8
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected System
GitHub
Enterprise Server 3.19.0 以上 3.19.5 未満
Enterprise Server 3.20.0
Enterprise Server 3.14.26 未満
Enterprise Server 3.15.0 以上 3.15.21 未満
Enterprise Server 3.16.0 以上 3.16.17 未満
Enterprise Server 3.17.0 以上 3.17.14 未満
Enterprise Server 3.18.0 以上 3.18.8 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年04月30日]
  掲載
April 30, 2026, 10:58 a.m.

NVD Vulnerability Information
CVE-2026-4296
Summary

An incorrect regular expression vulnerability was identified in GitHub Enterprise Server that allowed an attacker to bypass OAuth redirect URI validation. An attacker with knowledge of a first-party OAuth application's registered callback URL could craft a malicious authorization link that, when clicked by a victim, would redirect the OAuth authorization code to an attacker-controlled domain. This could allow the attacker to gain unauthorized access to the victim's account with the scopes granted to the OAuth application. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.21 and was fixed in versions 3.20.1, 3.19.5, 3.18.8, 3.17.14, 3.16.17, 3.15.21, 3.14.26. This vulnerability was reported via the GitHub Bug Bounty program.

Publication Date April 22, 2026, 8:16 a.m.
Registration Date April 25, 2026, 4:04 a.m.
Last Update April 29, 2026, 9:39 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* 3.14.26
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* 3.15.0 3.15.21
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* 3.16.0 3.16.17
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* 3.17.0 3.17.14
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* 3.18.0 3.18.8
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* 3.19.0 3.19.5
cpe:2.3:a:github:enterprise_server:3.20.0:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List