Improper authorization fallback allows scoped user-to-server token installation escape in GitHub Enterprise Server
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-639.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| GitHub | Enterprise Server | 3.20.0 to before 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.20.1 | Patch available | CNA |
- Enterprise Server VendorGitHub Affected 3.20.0 to before 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 Fixed in 3.20.1 Patch available CNA
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* | before 3.14.26; 3.15.0 to before 3.15.21; 3.16.0 to before 3.16.17; 3.17.0 to before 3.17.14; 3.18.0 to before 3.18.8; 3.19.0 to before 3.19.5 | Vulnerable | GitHub |
| cpe:2.3:a:github:enterprise_server:3.20.0:*:*:*:*:*:*:* | 3.20.0 | Vulnerable | GitHub |
- cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* Versions before 3.14.26; 3.15.0 to before 3.15.21; 3.16.0 to before 3.16.17; 3.17.0 to before 3.17.14; 3.18.0 to before 3.18.8; 3.19.0 to before 3.19.5 Vulnerable ·GitHub
- cpe:2.3:a:github:enterprise_server:3.20.0:*:*:*:*:*:*:* Versions 3.20.0 Vulnerable ·GitHub
Remediation
- Fix · CNA Enterprise Server (GitHub) Fixed in 3.20.1
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
GitHub Enterprise Server 3.20.1
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- TI-2026-03739 Incorrect Regular Expression vulnerability in GitHub Enterprise Server allowed…Priority LOW 35
- TI-2026-04829 Improper authorization vulnerability in GitHub Enterprise Server allowed disclosure of…Priority LOW 24
Timeline
- 2026-10-02 Threatist record created from CVE-2026-5845
- 2026-10-03 Alias added: GHSA-29qm-pmxx-2p86
References
Advisory 7
- https://docs.github.com/en/[email protected]/admin/release-notes#3.20.1
- https://docs.github.com/en/[email protected]/admin/release-notes#3.19.5
- https://docs.github.com/en/[email protected]/admin/release-notes#3.18.8
- https://docs.github.com/en/[email protected]/admin/release-notes#3.17.14
- https://docs.github.com/en/[email protected]/admin/release-notes#3.16.17
- https://docs.github.com/en/[email protected]/admin/release-notes#3.15.21
- https://docs.github.com/en/[email protected]/admin/release-notes#3.14.26
More GitHub Enterprise Server vulnerabilities
- TI-2024-04632 An authentication bypass vulnerability was present in the GitHub Enterprise Server (GHES)… CVSS 4.0CRITICAL 10.0
- TI-2024-00181 Unsafe Reflection in Github Enterprise Server leading to Command Injection CVSS 3.1CRITICAL 9.8
- TI-2024-00466 Privilege Escalation by Code Injection in the Management Console in GitHub Enterprise Server CVSS 3.1HIGH 8.8
- TI-2026-03340 Remote code execution via git push option injection in GitHub Enterprise Server CVSS 4.0HIGH 8.7
- TI-2024-08804 Improper signature verification in GitHub Enterprise Server CVSS 4.0CRITICAL 9.5
- TI-2026-08177 Server-side request forgery in GitHub Enterprise Server CVSS 4.0CRITICAL 9.2
Sources
- CVE-2026-5845 · CVE Program
- CVE-2026-5845 · NVD
- FIRST EPSS
- GHSA-29qm-pmxx-2p86 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences