CVE-2022-46255 - CVE House
Back to Database
Status published Unknown CVE-2022-46255

Improper Limitation of a Pathname to a Restricted Directory in GitHub Enterprise Server leading to RCE

Vulnerability Description

An improper limitation of a pathname to a restricted directory vulnerability was identified in GitHub Enterprise Server that enabled remote code execution. A check was added within Pages to ensure the working directory is clean before unpacking new content to prevent an arbitrary file overwrite bug. This vulnerability affected only version 3.7.0 of GitHub Enterprise Server and was fixed in version 3.7.1. This vulnerability was reported via the GitHub Bug Bounty program.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-46255

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • yvvdwf

Affected Vendor

Affected Software

GitHub Enterprise Server
Vulnerable Versions:
3.7

Timeline

Official Publish: December 14th, 2022
Last Modified: April 22nd, 2025
Added to House: July 21st, 2026

CVSS Vectors

No vector data available

Weaknesses (CWE)