CVE-2026-112740

published 18 Nov 2026 · updated 18 Nov 2026

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

7.4HighCVSS 7.4EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.19.*, 3.20.*, 3.21.* and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
GitHub>=3.19.0 <3.19.*, >=3.20.0 <3.20.*, >=3.21.0 <3.21.*, >=3.22.0 <3.22.*3.19.*, 3.20.*, 3.21.*, 3.22.*

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-112740 severity on Zeptric[![CVE-2026-112740](https://zeptric.io/badge/cve/CVE-2026-112740.svg)](https://zeptric.io/cve/CVE-2026-112740)