Skip to content
COOEY

EXPOSURES › CVE-2026-5845

CVE-2026-5845

CRITICAL
DETAIL
SourceNVD · cve Published2026-04-21 CVSS9.6 Referencehttps://nvd.nist.gov/vuln/detail/CVE-2026-5845 ↗
SHAME 65/100 unpatcheddata-breach

CVE-2026-5845 in GitHub Enterprise Server allows authenticated attackers to access private repositories outside their intended scope via an authorization fallback flaw.

This improper authorization vulnerability lets attackers bypass intended repository isolation, enabling read/write access to private data. DIB organizations must ensure their GitHub Enterprise Server is patched to version 3.21 or later to prevent data exfiltration and compliance violations under NIST 800-171.

Shame score — A critical authorization flaw allowing access to private repositories outside intended scope, though responsibly disclosed via GitHub's bug bounty program.

▸ RECOMMENDED ACTION  Critical severity — schedule patching of the affected products.

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.

AFFECTED FEDRAMP PRODUCTS · 1
PRODUCTSTATUS
GitHub Enterprise Cloud
GitHub
Authorized