{"cve":"CVE-2021-22870","nvd":{"published":"2021-11-10T02:15:06.983","modified":"2026-06-17T03:37:55.003","status":"Modified","description":"A path traversal vulnerability was identified in GitHub Pages builds on GitHub Enterprise Server that could allow an attacker to read system files. 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 3.3 and was fixed in versions 3.0.19, 3.1.11, and 3.2.3. This vulnerability was reported via the GitHub Bug Bounty program.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5},"cwes":["CWE-22","CWE-23"],"references":["https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.19","https://docs.github.com/en/enterprise-server%403.1/admin/release-notes#3.1.11","https://docs.github.com/en/enterprise-server%403.2/admin/release-notes#3.2.3","https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.19","https://docs.github.com/en/enterprise-server%403.1/admin/release-notes#3.1.11"],"products":["github:enterprise_server"],"source":"nvd","synced_at":"2026-10-19T21:24:39.218183596+00:00"},"epss":{"cve":"CVE-2021-22870","score":0.01134,"percentile":0.66499,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}