CVE-2022-46256

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

State
Published
Severity
8.8 High
Published
Dec 14, 2022
Updated
Apr 22, 2025
Reserved
Nov 28, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
GitHub Enterprise ServerGitHub
  • 3.3 to before 3.3.17Affected
  • 3.4 to before 3.4.12Affected
  • 3.5 to before 3.5.9Affected
  • 3.6 to before 3.6.5Affected
  • 3.7 to before 3.7.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.