CVE-2026-112740
JSON

7.4high

OS command injection in GitHub Enterprise Server allowed command execution as the host git user on peer cluster nodes

Severity
7.4high CVSS:4.0 by GitHub_P
Exploit likelihood
1.43% (higher than 73% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_P

Description

A command injection vulnerability was identified in GitHub Enterprise Server that allowed an authenticated site administrator to execute arbitrary commands as the host git user on peer Git server nodes outside the pre-receive hook sandbox by supplying a crafted pre-receive environment download URL. Exploitation required a clustered deployment using custom pre-receive hook environments and at least one peer Git server node. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.23 and was fixed in versions 3.22.5, 3.21.10, 3.20.12, and 3.19.16. This vulnerability was reported via the GitHub Bug Bounty program.

Affected

Product or packageVersionsReported by
GitHub Enterprise Serverfrom 3.19.0 before 3.19.*, from 3.20.0 before 3.20.*, from 3.21.0 before 3.21.*, from 3.22.0 before 3.22.*CVE List

Classification

CWE-78

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-112740 changed 2026-11-18CVE Terms of Use
NVDCVE-2026-112740 changed 2026-11-18Public domain