製品・ソフトウェアに関する情報
GitHubのEnterprise Serverにおけるユーザ制御の鍵による認証回避に関する脆弱性
Title GitHubのEnterprise Serverにおけるユーザ制御の鍵による認証回避に関する脆弱性
Summary

GitHub Enterprise Serverのスコープ付きユーザーからサーバーへの(ghu_)トークン認証における不適切な認可の脆弱性により、認証された攻撃者が意図されたインストール範囲外のプライベートリポジトリにアクセスできる可能性があります。このアクセスには書き込み操作も含まれる可能性があり、取り消されたまたは削除されたインストールをグローバルなインストールコンテキストとして扱う認可フォールバックを介して発生します。この脆弱性は、トークン取り消しのタイミングおよびSSHプッシュの帰属と組み合わせることで、被害者のスコープ付きトークンを取得して再利用できる状態でした。この脆弱性は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:57 a.m.
Last Update April 30, 2026, 10:57 a.m.
CVSS3.0 : 緊急
Score 9.6
Vector CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Affected System
GitHub
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 未満
Enterprise Server 3.19.0 以上 3.19.5 未満
Enterprise Server 3.20.0
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年04月30日]
  掲載
April 30, 2026, 10:57 a.m.

NVD Vulnerability Information
CVE-2026-5845
Summary

An improper authorization vulnerability in scoped user-to-server (ghu_) token authorization in GitHub Enterprise Server allows an authenticated attacker to access private repositories outside the intended installation scope, which can include write operations, via an authorization fallback that treated a revoked/deleted installation as a global installation context, which could be chained with token revocation timing and SSH push attribution to obtain and reuse a victim-scoped token. 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, and 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:30 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