Skip to content
RedCVE

CVE-2026-112740GitHub Enterprise Server OS command injection

GitHubPublished:

CVSS score

7.4

High

CVSS 4.0 from github.com

Exploit probability (EPSS)

1.43%

1.43% chance of exploitation in the next 30 days, higher than 73.6% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official 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.

Source: NVD · CNA: product-cna@github.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running GitHub Enterprise Server and compare its version with the affected versions.

  2. Watch for an official fix

    No fix or advisory is listed in the official record yet. Follow the vendor's security announcements; this page updates when one is published.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Attack requirements
Present
Privileges required
High
User interaction
None
Confidentiality
High
Integrity
High
Availability
None

Values in red make the vulnerability easier to exploit or more damaging. 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/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

Affected products

Affected productsVersions
GitHub Enterprise Server≥ 3.19.0, < 3.19.* · ≥ 3.20.0, < 3.20.* · ≥ 3.21.0, < 3.21.* · ≥ 3.22.0, < 3.22.*

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-112740 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 1.4% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-112740?

CVE-2026-112740 has a CVSS 4.0 base score of 7.4 (high).

Which versions are affected?

GitHub Enterprise Server (≥ 3.19.0, < 3.19.*; ≥ 3.20.0, < 3.20.*; ≥ 3.21.0, < 3.21.*; ≥ 3.22.0, < 3.22.*)

Is there a patch for CVE-2026-112740?

No patch is linked in the official record yet. Watch the vendor's security advisories.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.