Command Injection Vulnerability in GitHub Enterprise Server by GitHub
CVE-2026-112740
7.4HIGH
What is CVE-2026-112740?
A command injection vulnerability has been discovered in GitHub Enterprise Server, enabling authenticated site administrators to execute arbitrary commands as the host git user on peer Git server nodes. This occurs outside of the pre-receive hook sandbox by providing a specially crafted pre-receive environment download URL. Successful exploitation necessitates a clustered deployment using custom pre-receive hook environments and at least one peer Git server node. All versions prior to 3.23 are affected, with patches available in versions 3.22.5, 3.21.10, 3.20.12, and 3.19.16.
Affected Version(s)
Enterprise Server 3.19.0 < 3.19.*
Enterprise Server 3.20.0 < 3.20.*
Enterprise Server 3.21.0 < 3.21.*