OS command injection in GitHub Enterprise Server allowed command execution as the host git user on peer cluster nodes
CVE-2026-112740Published 18 Nov 2026, 00:57 UTC
Real-world risk
0.6/ 10Low
Routine
If the vulnerable configuration applies to you: 1.4
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.4
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_P)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| GitHub Enterprise ServerWidespread | >= 3.19.0, < 3.19.*; >= 3.20.0, < 3.20.*; >= 3.21.0, < 3.21.*; >= 3.22.0, < 3.22.* | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | HighAdmin or equivalent | From the CVSS vector | 0.20 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 1.4% chance of exploitation in 30 days (percentile 74), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.090
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 0.09 × threat 0.850.612
- Rounded to one decimal between 0.1 and 100.6
Exploitation and evidence timeline
- 18 Nov 2026 Published
- 2 Dec 2026 Risk 0.6 (cvss fallback)
Weakness
CWE-78
References
- https://docs.github.com/en/[email protected]/admin/release-notes#3.19.16release-notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.20.12release-notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.21.10release-notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.22.5release-notes
- CVE-2026-112740 on CVE.org