7.4
HIGH CVSS 4.0
CVE-2026-112740
OS command injection in GitHub Enterprise Server allowed command execution as the host git user on peer cluster nodes
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.

INFO

Published Date :

Nov. 18, 2026, 1:17 a.m.

Last Modified :

Nov. 18, 2026, 1:17 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-112740 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Github enterprise_server
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 4.0 HIGH 82327ea3-741d-41e4-88f8-2cf9e791e760
CVSS 4.0 HIGH [email protected]
Solution
Update GitHub Enterprise Server to a patched version to fix command injection.
  • Update GitHub Enterprise Server to version 3.22.5.
  • Update GitHub Enterprise Server to version 3.21.10.
  • Update GitHub Enterprise Server to version 3.20.12.
  • Update GitHub Enterprise Server to version 3.19.16.
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-112740 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-112740 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-112740 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    Nov. 18, 2026

    Action Type Old Value New Value
    Added 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.
    Added CVSS V4.0 AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CWE CWE-78
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/112xxx/CVE-2026-112740.json">CVE-2026-112740</a>
    Added Reference https://docs.github.com/en/[email protected]/admin/release-notes#3.19.16
    Added Reference https://docs.github.com/en/[email protected]/admin/release-notes#3.20.12
    Added Reference https://docs.github.com/en/[email protected]/admin/release-notes#3.21.10
    Added Reference https://docs.github.com/en/[email protected]/admin/release-notes#3.22.5
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.