CVE-2026-112740
CVE-2026-112740 · OS command injection in GitHub Enterprise Server allowed command execution as the host git user on peer cluster nodes
CVSS 7.4 · High · EPSS 2.0% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- enterprise serverUpdate to 3.19.16 / 3.20.12 / 3.21.10 …
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Affected products and versions
enterprise server
- Versions
- ≥ 3.19.0, < 3.19.*: Affected; ≥ 3.19.16: Not affected (semver)
- ≥ 3.20.0, < 3.20.*: Affected; ≥ 3.20.12: Not affected (semver)
- ≥ 3.21.0, < 3.21.*: Affected; ≥ 3.21.10: Not affected (semver)
- ≥ 3.22.0, < 3.22.*: Affected; ≥ 3.22.5: Not affected (semver)
Update to 3.19.16; Update to 3.20.12; Update to 3.21.10; Update to 3.22.5
Original sources
- https://docs.github.com/en/[email protected]/admin/release-notes#3.19.16
- https://docs.github.com/en/[email protected]/admin/release-notes#3.20.12
- https://docs.github.com/en/[email protected]/admin/release-notes#3.21.10
- https://docs.github.com/en/[email protected]/admin/release-notes#3.22.5
- https://nvd.nist.gov/vuln/detail/CVE-2026-112740