# CVE-2020-10518: Unsafe configuration options in GitHub Pages leading to remote code execution on GitHub Enterprise Server

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.70%, higher than 90% of CVEs (2026-12-01)
- Published: 2020-08-27T21:55:11.000Z
- Modified: 2026-06-17T02:47:57.320Z
- Weaknesses: CWE-77
- Assigned by: GitHub_P

## Description

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 and was fixed in 2.21.6, 2.20.15, and 2.19.21. The underlying issues contributing to this vulnerability were identified both internally and through the GitHub Security Bug Bounty program.

(As written by CVE List.)

## Affected

- GitHub GitHub Enterprise Server: from 2.19 before 2.19.21; from 2.20 before 2.20.15; from 2.21 before 2.21.6
- github github: before 2.19.21; from 2.20.0 before 2.20.15; from 2.21.0 before 2.21.6

## Every score

- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://enterprise.github.com/releases/2.19.21/notes> (release-notes, vendor-advisory)
- <https://enterprise.github.com/releases/2.20.15/notes> (release-notes, vendor-advisory)
- <https://enterprise.github.com/releases/2.21.6/notes> (release-notes, vendor-advisory)

## Sources

- CVE List: [CVE-2020-10518](https://www.cve.org/CVERecord?id=CVE-2020-10518), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-10518](https://nvd.nist.gov/vuln/detail/CVE-2020-10518), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-10518 · Whole record: https://cve.day/CVE-2020-10518.json · Rebuilt by cve.day 2026-11-25T22:57:54.413Z
