Skip to content
OpenAdvisories
High · 8.8 CVE-2022-46256 EUVD-2022-49075GHSA-46qx-xf9f-62gx

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

Published Dec 14, 2022 · Updated Apr 22, 2025 · 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.

Affected products

VendorProductAffectedFixed
GitHub GitHub Enterprise Server 3.3 – < 3.3.17, 3.4 – < 3.4.12, 3.5 – < 3.5.9, 3.6 – < 3.6.5, 3.7 – < 3.7.2 3.3.17

References