CVE-2026-112740
published high CVSS 4.0 · 7.4OS command injection in GitHub Enterprise Server allowed command execution as the host git user on peer cluster nodes
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GitHub | — | Enterprise Server3.19.0 to < 3.19.* (affected · semver); changes: unaffected at 3.19.16 · 3.20.0 to < 3.20.* (affected · semver); changes: unaffected at 3.20.12 · 3.21.0 to < 3.21.* (affected · semver); changes: unaffected at 3.21.10 · 3.22.0 to < 3.22.* (affected · semver); changes: unaffected at 3.22.5 · Other versions: unknown | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.4 / 10
- Severity
- high
- Provider
- GitHub_P · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GitHub | Enterprise Server | 3.19.0 to < 3.19.* (affected · semver); changes: unaffected at 3.19.163.20.0 to < 3.20.* (affected · semver); changes: unaffected at 3.20.123.21.0 to < 3.21.* (affected · semver); changes: unaffected at 3.21.103.22.0 to < 3.22.* (affected · semver); changes: unaffected at 3.22.5Default: unknown | GitHub_P · cna |
Weaknesses
1- CWE-78 CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
4Provider assertions
2GitHub_P · cna
OS command injection in GitHub Enterprise Server allowed command execution as the host git user on peer cluster nodes
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 44b91882dda693590472c1d415b120041e36fba74eb783f3719b93d0cba3289e
- Ingested
- 18 Nov 2026, 17:42:46 UTC
- Source record
- Official CVE record