CVE-2026-5845
CVE-2026-5845 is a critical-severity vulnerability in Github Enterprise Server with a CVSS 3.x base score of 9.6. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-639.
Key facts
- Severity: Critical (CVSS 3.x base score 9.6)
- CVSS v4: 7.2
- EPSS exploit prediction: 0% (14th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-24552
- Weakness: CWE-639
- Affected product: Github Enterprise Server
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-5845?
- 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.
- How severe is CVE-2026-5845?
- CVE-2026-5845 has a CVSS 3.x base score of 9.6, rated critical severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2026-5845 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (14th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-5845?
- CVE-2026-5845 primarily affects Github Enterprise Server. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2026-5845?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2026-5845 have an EU (EUVD) identifier?
- Yes. CVE-2026-5845 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-24552.
- When was CVE-2026-5845 published?
- CVE-2026-5845 was published on 2026-04-21 and last updated on 2026-06-17.
References
- https://docs.github.com/en/[email protected]/admin/release-notes#3.14.26
- https://docs.github.com/en/[email protected]/admin/release-notes#3.15.21
- https://docs.github.com/en/[email protected]/admin/release-notes#3.16.17
- https://docs.github.com/en/[email protected]/admin/release-notes#3.17.14
- https://docs.github.com/en/[email protected]/admin/release-notes#3.18.8
- https://docs.github.com/en/[email protected]/admin/release-notes#3.19.5
- https://docs.github.com/en/[email protected]/admin/release-notes#3.20.1
Affected products (2)
- cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*
- cpe:2.3:a:github:enterprise_server:3.20.0:*:*:*:*:*:*:*
More vulnerabilities in Github Enterprise Server
- CVE-2026-8034 — Critical (CVSS 9.8): A server-side request forgery (SSRF) vulnerability was identified in the GitHub Enterprise Server notebook viewer that…
- CVE-2024-6800 — Critical (CVSS 9.8): An XML signature wrapping vulnerability was present in GitHub Enterprise Server (GHES) when using SAML authentication…
- CVE-2024-4985 — Critical (CVSS 9.8): An authentication bypass vulnerability was present in the GitHub Enterprise Server (GHES) when utilizing SAML single…
- CVE-2022-23739 — Critical (CVSS 9.8): An incorrect authorization vulnerability was identified in GitHub Enterprise Server, allowing for escalation of…
- CVE-2022-46255 — Critical (CVSS 9.8): An improper limitation of a pathname to a restricted directory vulnerability was identified in GitHub Enterprise Server…
- CVE-2021-22869 — Critical (CVSS 9.8): An improper access control vulnerability in GitHub Enterprise Server allowed a workflow job to execute in a self-hosted…
All CVEs affecting Github Enterprise Server →
Other CWE-639 (Authorization Bypass Through User-Controlled Key (IDOR)) vulnerabilities
- CVE-2025-40805 — Critical (CVSS 10.0): Affected devices do not properly enforce user authentication on specific API endpoints. This could facilitate an…
- CVE-2024-45032 — Critical (CVSS 10.0): A vulnerability has been identified in Industrial Edge Management Pro (All versions < V1.9.5), Industrial Edge…
- CVE-2026-34037 — Critical (CVSS 9.9): Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to…
- CVE-2026-52782 — Critical (CVSS 9.9): OpenProject is open-source, web-based project management software. Prior to 17.3.3 and 17.4.1, there is an IDOR through…
- CVE-2026-45552 — Critical (CVSS 9.9): Roxy-WI is a web interface for managing Haproxy, Nginx, Apache and Keepalived servers. In versions 8.2.6.4 and prior,…
- CVE-2026-29200 — Critical (CVSS 9.9): A critical IDOR vulnerability has been discovered in Comet Backup affecting all versions from 20.11.0 to 26.1.1 and…
Browse all CWE-639 (Authorization Bypass Through User-Controlled Key (IDOR)) vulnerabilities →