CVE-2021-22870
publishedPath traversal in GitHub Enterprise Server hosted Pages leads to unauthorized file read access
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GitHub | — | GitHub Enterprise Server3.0 to < 3.0.19 · 3.1 to < 3.1.11 · 3.2 to < 3.2.3 | Affected | Not stated | GitHub_P |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GitHub | GitHub Enterprise Server | 3.0 to < 3.0.19 (affected · custom)3.1 to < 3.1.11 (affected · custom)3.2 to < 3.2.3 (affected · custom) | GitHub_P · cna |
Weaknesses
1- CWE-23
References
3Provider assertions
2GitHub_P · cna
Path traversal in GitHub Enterprise Server hosted Pages leads to unauthorized file read access
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b8c7c335cfb6e17735cede1a5e3b3a51d1ded66f266e1ba651d6ac31b1e4df58
- Ingested
- 23 Sep 2026, 07:52:45 UTC
- Source record
- Official CVE record