OS command injection in GitHub Enterprise Server allowed command execution as the host git user on peer cluster nodes
- CVE-2026-112740
- GHSA-vgmg-xrw2-8659
- EUVD-2026-128358
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.
Text from the CVE.org record.
Recommendation
GitHub Enterprise Server
- If you run 3.22.xupdate to 3.22.5 or laterPatch update: breaking changes are unlikely
- If you run 3.21.xupdate to 3.21.10 or laterPatch update: breaking changes are unlikely
- If you run 3.20.xupdate to 3.20.12 or laterPatch update: breaking changes are unlikely
- If you run 3.19.xupdate to 3.19.16 or laterPatch update: breaking changes are unlikely
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
GitHub Enterprise Server
Affected versions Fixed in from 3.22.0 to before 3.22.5 3.22.5 from 3.21.0 to before 3.21.10 3.21.10 from 3.20.0 to before 3.20.12 3.20.12 from 3.19.0 to before 3.19.16 3.19.16
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.