PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-112740 GitHub CVE debrief

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.

Vendor
GitHub
Product
Enterprise Server
CVSS
HIGH 7.4
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-18
Original CVE updated
2026-11-18
Advisory published
2026-11-18
Advisory updated
2026-11-18

Who should care

GitHub Enterprise Server administrators, especially those with clustered deployments using custom pre-receive hook environments, should assess exposure and prioritize patching or mitigation.

Why it matters

CVE-2026-112740 is a command injection vulnerability in GitHub Enterprise Server that allows authenticated site administrators to execute arbitrary commands. It requires a clustered deployment with custom pre-receive hook environments and at least one peer Git server node. The vulnerability was fixed in multiple versions, and administrators should assess exposure and prioritize patching.

  • Potential command execution as the host git user on peer Git server nodes.
  • Possible disruption of Git server node operations.
  • Need for verification of affected versions and patching status.
  • Potential for lateral movement in clustered deployments.

Technical summary

The vulnerability 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. Affected versions include all versions of GitHub Enterprise Server prior to 3.23, which were fixed in versions 3.22.5, 3.21.10, 3.20.12, and 3.19.16. Administrators should assess exposure and prioritize patching or mitigation, especially in clustered deployments with custom pre-receive hook environments.

Defensive priority

GitHub Enterprise Server administrators should assess exposure and prioritize patching or mitigation, especially in clustered deployments with custom pre-receive hook environments.

Recommended defensive actions

  • Assess exposure in GitHub Enterprise Server deployments, especially in clustered environments with custom pre-receive hook environments.
  • Prioritize patching to versions 3.22.5, 3.21.10, 3.20.12, or 3.19.16, or upgrade to version 3.23 or later.
  • Review and restrict access to pre-receive environment download URLs.
  • Monitor for suspicious activity related to Git server nodes and pre-receive hooks.
  • Review compensating controls for exposed systems while remediation is scheduled and verified.
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.

Evidence notes

The vulnerability was reported via the GitHub Bug Bounty program. Official records from GitHub and NIST provide details on the vulnerability and affected versions. Evidence is limited to public sources and may not be comprehensive. Defenders should verify affected versions and patching status with official sources and assess exposure in their environments.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-112740 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-112740

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-112740 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-112740

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.