Improper Authorization Vulnerability in GitHub Enterprise Server
CVE-2026-5845
Key Information:
- Vendor
Github
- Status
- CVE ID
- CVE ID:
- CVE-2026-5845
- Vendor
- CVE Published:
- 21 April 2026
- Fixed in
- Fixed in:
- 3.20.1
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- No: Needs local access
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Update to a fixed version
Several version ranges are affected; the full list is under Affected Version(s).
2Why it's rated "Check today"
- Its CVSS severity is high (7.2).
What is CVE-2026-5845?
An improper authorization vulnerability exists in token authorization for scoped user-to-server interactions within GitHub Enterprise Server. This flaw enables an authenticated attacker to gain unauthorized access to private repositories, potentially allowing for write operations beyond the intended scope. The root cause involves an authorization fallback that treated a revoked or deleted installation as if it retained global installation privileges. This issue can be exploited in conjunction with token revocation timing and SSH push attribution, allowing misuse of tokens specific to a victimβs context. Affected versions include all prior to 3.21, with multiple fixes applied in subsequent versions.
Affected Version(s)
Enterprise Server 3.20.0 < 3.20.1
Enterprise Server 3.19.0 <= 3.19.4
Enterprise Server 3.18.0 <= 3.18.7
References
More Github Vulnerabilities
Improper Neutralization Vulnerability in GitHub Enterprise Server
Remote Code Execution Vulnerability in GitHub Enterprise Server
Cryptographic Signature Spoofing Vulnerability in GitHub Enterprise Server
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction