Back

CRITICAL

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

Published Dec 14, 2022

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.

Affected products

Remediation

No remediation recorded yet.

Weaknesses (1)

References (2)

Change history (0)

No recorded changes yet.

Sources

CVE.org / MITRE

Status PUBLISHED
Assigner GitHub_P
Published Dec 14, 2022
Updated Apr 22, 2025
Reserved Nov 28, 2022

CISA Vulnrichment

Updated Apr 22, 2025

NVD

Status Modified
Modified Jun 17, 2026

Red Hat

No data

ENISA EUVD

Assigner GitHub_P
Published Dec 14, 2022
Updated Apr 22, 2025

GitHub

No data