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

- Severity: High 7.4 (CVSS:4.0, scored by GitHub_P) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.43%, higher than 73% of CVEs (2026-12-01)
- Published: 2026-11-18T00:57:43.041Z
- Modified: 2026-11-18T18:17:55.747Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- GitHub Enterprise Server: from 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.*

## References

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

## Sources

- CVE List: [CVE-2026-112740](https://www.cve.org/CVERecord?id=CVE-2026-112740), CVE Terms of Use, modified 2026-11-18
- NVD: [CVE-2026-112740](https://nvd.nist.gov/vuln/detail/CVE-2026-112740), Public domain, modified 2026-11-18

---

Page: https://cve.day/CVE-2026-112740 · Whole record: https://cve.day/CVE-2026-112740.json · Rebuilt by cve.day 2026-11-25T22:59:51.747Z
