CVE-2022-46256

published 14 Dec 2022 · updated 22 Apr 2025

Path traversal in GitHub Enterprise Server leading to remote code execution in GitHub Pages

8.8HighCVSS 8.8EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 3.3.17, 3.4.12, 3.5.9 and 2 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
GitHub>=3.3 <3.3.17, >=3.4 <3.4.12, >=3.5 <3.5.9, >=3.6 <3.6.5, >=3.7 <3.7.23.3.17, 3.4.12, 3.5.9, 3.6.5, 3.7.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-46256 severity on Zeptric[![CVE-2022-46256](https://zeptric.io/badge/cve/CVE-2022-46256.svg)](https://zeptric.io/cve/CVE-2022-46256)