CVE-2026-116637

Improper link resolution in GitHub Enterprise Server allowed root-level file modification via pre-receive hook environments

Published Nov 18, 2026 CVSS 4.0 · 8.6 High EPSS < 1% KEV · Not listed
Description
A site administrator could modify files on the appliance host with root privileges and disclose private repository data due to improper path validation in GitHub Enterprise Server. Exploitation required a crafted pre-receive hook environment. This vulnerability affected supported GitHub Enterprise Server versions prior to 3.23 and was fixed in versions 3.19.16, 3.20.12, 3.21.10, and 3.22.5. This vulnerability was reported via the GitHub Bug Bounty program.

Analysis

AI-generated

Technical impact

The vulnerability arises from improper path validation in GitHub Enterprise Server's handling of pre‑receive hook environments. A site administrator can supply a crafted environment that causes the server to resolve a path outside the intended repository and modify host files with root privileges. This capability can lead to the disclosure of private repository data, compromise of the appliance, and lateral movement within the host system.

Affected Systems

The issue affects GitHub Enterprise Server installations running any supported version prior to 3.23. The bug was addressed by patch releases 3.19.16, 3.20.12, 3.21.10, and 3.22.5. All earlier builds of these major releases remain vulnerable.

Risk and Exploitability

The CVSS score of 8.6 reflects a high severity. The EPSS score is < 1% and the vulnerability is not listed in CISA's KEV catalog, suggesting that known exploit data is limited. Exploitation requires the attacker to be a site administrator who can configure pre‑receive hook environments, so the primary vector is remote code execution via privileged Git operations. In practice this means an attacker who gains administrative access to the GitHub Enterprise instance can tamper with system files and compromise confidentiality, integrity, and availability of the appliance.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the instance to GitHub Enterprise Server 3.19.16 or later and apply the specific patch releases (3.20.12, 3.21.10, 3.22.5) or any 3.23+ version.
  • If an immediate upgrade is infeasible, restrict creation of pre‑receive hook environmental variables to a minimal set of trusted administrators and remove or disable custom path modifications.
  • Conduct a thorough audit of host file permissions and monitor for unexpected root‑level file changes and review audit logs for unauthorized modifications.

Generated by OpenCVE AI on November 19, 2026 at 02:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Github
Github enterprise Server
Vendors & Products Github
Github enterprise Server
Type Values Removed Values Added
Description A site administrator could modify files on the appliance host with root privileges and disclose private repository data due to improper path validation in GitHub Enterprise Server. Exploitation required a crafted pre-receive hook environment. This vulnerability affected supported GitHub Enterprise Server versions prior to 3.23 and was fixed in versions 3.19.16, 3.20.12, 3.21.10, and 3.22.5. This vulnerability was reported via the GitHub Bug Bounty program.
Title Improper link resolution in GitHub Enterprise Server allowed root-level file modification via pre-receive hook environments
Weaknesses CWE-59
References
Metrics cvssV4_0

{'score': 8.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

Sources

Status
PUBLISHED
Assigner
GitHub_P
Published
Updated
Nov 18, 2026, 5:36 PM
Reserved
Oct 26, 2026, 6:09 PM
Status
Received
Published
Nov 18, 2026, 2:17 AM
Modified
Nov 18, 2026, 6:18 PM