CVE-2022-46256: GitHub Enterprise Server - Remote Code Execution
- Cve: CVE-2022-46256
- Name: GitHub Enterprise Server - Remote Code Execution
- 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.
- Impact: Attackers with build permissions can execute remote code, potentially leading to full system compromise.
- Remediation: Update to versions 3.3.17, 3.4.12, 3.5.9, 3.6.5, or 3.7.2.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs permission to create and build a GitHub Pages site
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.02135
- Epss percentile: 0.82474
- Assignee: [email protected]
- Published at: 2022-12-14T18:15:23Z
- Age in days: 1441
- Modified at: 2026-06-17T05:11:24Z
- Patch available: yes
- References total: 5
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-46256
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Hackerone
- Reports: 2
- Rank: 3806
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| github:enterprise_server | >= 3.7.0, < 3.7.2; >= 3.6.0, < 3.6.5; >= 3.5.0, < 3.5.9; >= 3.4.0, < 3.4.12; < 3.3.17 | no | nvd | /v1/products/github/enterprise_server |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Hackerone reports: 2
- Exposed hosts: 1875
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since