CVE-2026-5845: Vulnerability in GitHub Enterprise Server
Critical. 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...
CWE-639
- Exploitation
- None confirmed
- Severity
- 9.6 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
- Weakness
- CWE-639
- Published
- 21 Apr 2026
- Last change
- 26 Oct 2026
Affected products
Affected versions and the first fixed release
- GitHub Enterprise Server Before 3.14.26; From 3.15.0 before 3.15.21; From 3.16.0 before 3.16.17; From 3.17.0 before 3.17.14; From 3.18.0 before 3.18.8; From 3.19.0 before 3.19.5. Fixed in 3.14.26, 3.15.21, 3.16.17, 3.17.14, 3.18.8, 3.19.5
Patches and fixes
Updates, commits and release notes
- docs.github.com/en/enterprise-server@3.14/admin/release-notes
- docs.github.com/en/enterprise-server@3.15/admin/release-notes
- docs.github.com/en/enterprise-server@3.16/admin/release-notes
- docs.github.com/en/enterprise-server@3.17/admin/release-notes
- docs.github.com/en/enterprise-server@3.18/admin/release-notes
- docs.github.com/en/enterprise-server@3.19/admin/release-notes
Related
- Enterprise Server vulnerabilities Recent advisories, watch this product