# CVE-2026-112740: OS command injection in GitHub Enterprise Server allowed command execution as the host git user on peer cluster nodes

- Priority: **Routine**
- Reason: Not severe (CVSS 7.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-18 · Modified: 2026-11-18
- Record: https://cvemate.com/vulnerability/CVE-2026-112740 · JSON: https://cvemate.com/vulnerability/CVE-2026-112740/json

## Description

```text
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.
```

## Signals

- CVSS: 7.4 high (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- EPSS: 1.425%, percentile 73.841%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- github enterprise server: ≥ 3.19.0, \< 3.19.\* \| ≥ 3.20.0, \< 3.20.\* \| ≥ 3.21.0, \< 3.21.\* \| ≥ 3.22.0, \< 3.22.\*

## References

- <https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.16>
- <https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.12>
- <https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.10>
- <https://docs.github.com/en/enterprise-server@3.22/admin/release-notes#3.22.5>

---

Data as of 2026-12-05T07:29:45.368Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
