CVE-2026-5845: github enterprise_server
Vulnerability summary
CVE-2026-5845 is a critical (CVSS 9.6) vulnerability in github enterprise_server. EPSS estimates a 0.48% chance of exploitation in the next 30 days, higher than 40% of scored vulnerabilities.
Timeline
- 21-04-2026PublishedVulnerability first disclosed.
- 22-04-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 2 sources · 2 versions- NVDNIST7.2HighCVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.48%
Chance of exploitation in the next 30 days
Percentile
40%
Versus all other CVEs
30-day change
+0.19 pp
From 0.29% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Github1 product
- enterprise_server≥ 3.20.0, < 3.20.1 | ≥ 3.19.0, ≤ 3.19.4 | ≥ 3.18.0, ≤ 3.18.7 | ≥ 3.17.0, ≤ 3.17.13 | ≥ 3.16.0, ≤ 3.16.16 | ≥ 3.15.0, ≤ 3.15.20 | ≥ 3.14.0, ≤ 3.14.25 | < 3.14.26 | ≥ 3.15.0, < 3.15.21 | ≥ 3.16.0, < 3.16.17 | ≥ 3.17.0, < 3.17.14 | ≥ 3.18.0, < 3.18.8 | ≥ 3.19.0, < 3.19.5 | 3.20.0
1 vendor · 1 product