CVE-2022-46256
published high CVSS 3.1 · 8.8Path traversal in GitHub Enterprise Server leading to remote code execution in GitHub Pages
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GitHub | — | GitHub Enterprise Server3.3 to < 3.3.17 · 3.4 to < 3.4.12 · 3.5 to < 3.5.9 · 3.6 to < 3.6.5 · 3.7 to < 3.7.2 | Affected | Not stated | GitHub_P |
Description
A path traversal vulnerability was identified in GitHub Enterprise Server that allowed remote code execution when building a GitHub Pages site. To exploit this vulnerability, an attacker would need permission to create and build a GitHub Pages site on the instance. This vulnerability was fixed in versions 3.3.17, 3.4.12, 3.5.9, 3.6.5 and 3.7.2. 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.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GitHub | GitHub Enterprise Server | 3.3 to < 3.3.17 (affected · custom)3.4 to < 3.4.12 (affected · custom)3.5 to < 3.5.9 (affected · custom)3.6 to < 3.6.5 (affected · custom)3.7 to < 3.7.2 (affected · custom) | GitHub_P · cna |
Weaknesses
2- CWE-22
- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
5- https://docs.github.com/en/enterprise-server%403.3/admin/release-notes#3.3.17
- https://docs.github.com/en/enterprise-server%403.4/admin/release-notes#3.4.12
- https://docs.github.com/en/enterprise-server%403.5/admin/release-notes#3.5.9
- https://docs.github.com/en/enterprise-server%403.6/admin/release-notes#3.6.5
- https://docs.github.com/en/enterprise-server%403.7/admin/release-notes#3.7.2
Provider assertions
3GitHub_P · cna
Path traversal in GitHub Enterprise Server leading to remote code execution in GitHub Pages
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 94162a445d14d98fba18a1549729f3256e74ae00c1a12438d141ff3b4227ffc9
- Ingested
- 23 Sep 2026, 08:03:36 UTC
- Source record
- Official CVE record