CVE-2026-116637: Improper link resolution in GitHub Enterprise Server allowed root-level file modification via pre-receive hook environments
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
GitHub Enterprise Serverto a version that resolves this vulnerability.Fixed in 3.19.16 - Upgrade
Upgrade
GitHub Enterprise Serverto a version that resolves this vulnerability.Fixed in 3.20.12 - Upgrade
Upgrade
GitHub Enterprise Serverto a version that resolves this vulnerability.Fixed in 3.21.10 - Upgrade
Upgrade
GitHub Enterprise Serverto a version that resolves this vulnerability.Fixed in 3.22.5
Event History
Frequently Asked Questions
Who is realistically able to exploit this issue?
Exploitation requires site administrator privileges on the GitHub Enterprise Server appliance. The attacker must be able to use a crafted pre-receive hook environment.
Which versions need remediation?
Supported GitHub Enterprise Server versions before 3.23 are affected. Fixed releases are 3.19.16, 3.20.12, 3.21.10, and 3.22.5.
What is the impact if exploitation succeeds?
A site administrator could modify files on the appliance host with root privileges. They could also disclose private repository data.