Read the docs

Command injection in GitHub Enterprise Server runs commands on peers

Priority LOW 38CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
Code execution
Confidentiality · integrity · availability
High · High · None
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-78.

Summary

GitHub Enterprise Server versions prior to 3.23 are affected. A command injection flaw (CWE-78) lets an authenticated site administrator run 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 requires a clustered deployment that uses custom pre-receive hook environments and at least one peer Git server node.

Written with Claude Haiku 5.5 from the sources below · 2026-11-18

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0196 80th percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
GitHubEnterprise Server3.19.0 and later; 3.20.0 and later; 3.21.0 and later; 3.22.0 and later—No fix listedCNA
  • Enterprise Server VendorGitHub Affected 3.19.0 and later; 3.20.0 and later; 3.21.0 and later; 3.22.0 and later Fixed in — No fix listed CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*——GitHub
  • cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* Versions — — ·GitHub

Remediation

Upgrade GitHub Enterprise Server to version 3.22.5, 3.21.10, 3.20.12 or 3.19.16, which fix this flaw.

Written with Claude Haiku 5.5 from the sources below · 2026-11-18

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    GitHub Enterprise Server 3.19.*, 3.20.* and 2 more versions

    6 records Highest priority Priority MEDIUM 1 MEDIUM, 5 LOW

    Other records, highest priority first

    • TI-2026-93649 Improper link resolution in GitHub Enterprise ServerPriority MEDIUM 40
    • TI-2026-93672 Stored XSS in GitHub Enterprise Server enables SSH key additionPriority LOW 39
    • TI-2026-93660 SSH certificate authentication bypass in GitHub Enterprise ServerPriority LOW 39

Timeline

  1. 2026-11-18 Threatist record created from CVE-2026-112740
  2. 2026-11-18 Alias added: GHSA-vgmg-xrw2-8659
  3. 2026-11-18 CISA SSVC decision points changed

References

  • TI-2024-04632 An authentication bypass vulnerability was present in the GitHub Enterprise Server (GHES)… CVSS 4.0CRITICAL 10.0
  • TI-2022-08539 Integer overflow in table parsing extension leads to heap memory corruption CVSS 3.1CRITICAL 9.8
  • TI-2026-34990 GitHub MCP Server: Nil Pointer Dereference DoS in completion/complete Handler CVSS 3.1HIGH 7.5
  • TI-2026-32884 GitHub Copilot CLI: Nested Bare Repository Can Execute Arbitrary Commands via core.fsmonitor CVSS 4.0HIGH 8.5
  • TI-2023-11632 Quadratic complexity may lead to a denial of service in cmark-gfm CVSS 3.1HIGH 7.5
  • TI-2023-10324 Quadratic complexity may lead to a denial of service in cmark-gfm CVSS 3.1HIGH 7.5
See all 186 →

Sources