Unsafe configuration options in GitHub Pages leading to remote code execution on GitHub Enterprise Server
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-77.
Summary
A remote code execution vulnerability was identified in GitHub Enterprise Server that could be exploited when building a GitHub Pages site. User-controlled configuration of the underlying parsers used by GitHub Pages were not sufficiently restricted and made it possible to execute commands on the GitHub Enterprise Server instance. To exploit this vulnerability, an attacker would need permission to create and build a GitHub Pages site on the GitHub Enterprise Server instance. This vulnerability affected all versions of GitHub Enterprise Server prior to 2.22.7 and was fixed in 2.22.7, 2.21.15, and 2.20.24. The underlying issues contributing to this vulnerability were identified through the GitHub Security Bug Bounty program.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| GitHub | GitHub Enterprise Server | 2.20 to before 2.20.24; 2.21 to before 2.21.15; 2.22 to before 2.22.7 | 2.20.24, 2.21.15, 2.22.7 | Patch available | CNA |
- GitHub Enterprise Server VendorGitHub Affected 2.20 to before 2.20.24; 2.21 to before 2.21.15; 2.22 to before 2.22.7 Fixed in 2.20.24, 2.21.15, 2.22.7 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:github:github:*:*:*:*:enterprise:*:*:* | before 2.20.24; 2.21.0 to before 2.21.15; 2.22.0 to before 2.22.7 | Vulnerable | GitHub |
- cpe:2.3:a:github:github:*:*:*:*:enterprise:*:*:* Versions before 2.20.24; 2.21.0 to before 2.21.15; 2.22.0 to before 2.22.7 Vulnerable ·GitHub
Remediation
- Fix · CNA GitHub Enterprise Server (GitHub) Fixed in 2.20.24, 2.21.15, 2.22.7
Timeline
- 2026-10-02 Threatist record created from CVE-2020-10519
- 2026-10-03 Alias added: GHSA-gcp3-gfr7-rcqp
References
More Github vulnerabilities
- TI-2017-13538 The Management Console in GitHub Enterprise 2.8.x before 2.8.7 has a deserialization… CVSS 3.0CRITICAL 9.8
- TI-2020-08450 Improper access control in GitHub Enterprise Server leading to privilege escalation of organization member CVSS 3.1CRITICAL 9.8
- TI-2020-08452 Unsafe configuration options in GitHub Pages leading to remote code execution on GitHub Enterprise Server CVSS 3.1HIGH 8.8
- TI-2021-05724 Improper authorization in GitHub Enterprise Server CVSS 3.1HIGH 8.1
- TI-2012-01828 GitHub Enterprise before 20120304 does not properly restrict the use of a hash to provide… CVSS 3.1HIGH 7.5
- TI-2021-05722 Improper access control in GitHub Enterprise Server leading to unauthorized write access to forkable repositories CVSS 3.1MEDIUM 6.5
Sources
- CVE-2020-10519 · CVE Program
- CVE-2020-10519 · NVD
- FIRST EPSS
- GHSA-gcp3-gfr7-rcqp · 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