Improper Authorization Vulnerability in GitHub Enterprise Server
CVE-2026-5845

7.2HIGH

Key Information:

Vendor

Github

Vendor
CVE Published:
21 April 2026

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

CVSS V4

Score:
7.2
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
None
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

ahacker1
.