Command Injection Vulnerability in GitHub Enterprise Server by GitHub
CVE-2026-112740

7.4HIGH

Key Information:

Vendor

Github

Vendor
CVE Published:
18 November 2026

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.*

References

CVSS V4

Score:
7.4
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

maksyche
.