# CVE-2022-46256: Path traversal in GitHub Enterprise Server leading to remote code execution in GitHub Pages

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `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): 2.14%, higher than 82% of CVEs (2026-12-02)
- Published: 2022-12-14T00:00:00.000Z
- Modified: 2026-06-17T05:11:24.427Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- GitHub GitHub Enterprise Server: from 3.3 before 3.3.17; from 3.4 before 3.4.12; from 3.5 before 3.5.9; from 3.6 before 3.6.5; from 3.7 before 3.7.2
- github enterprise_server: before 3.3.17; from 3.4.0 before 3.4.12; from 3.5.0 before 3.5.9; from 3.6.0 before 3.6.5; from 3.7.0 before 3.7.2

## Every score

- CISA-ADP: 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:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <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>

## Sources

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

---

Page: https://cve.day/CVE-2022-46256 · Whole record: https://cve.day/CVE-2022-46256.json · Rebuilt by cve.day 2026-11-25T22:58:17.536Z
