CVE-2021-22864
GitHub Enterprise Server vulnerability analysis and mitigation

Overview

A remote code execution vulnerability was identified in GitHub Enterprise Server (CVE-2021-22864) that could be exploited when building a GitHub Pages site. The vulnerability was disclosed on March 23, 2021, affecting multiple versions of GitHub Enterprise Server (NVD).

Technical details

The vulnerability is classified as CWE-77 (Command Injection) according to the Common Weakness Enumeration system. This classification indicates that the vulnerability allows for the execution of arbitrary commands through the GitHub Pages build process (NVD CNA Status).

Impact

The vulnerability could allow attackers to execute arbitrary code on the system through the GitHub Pages site building functionality, potentially compromising the security of the GitHub Enterprise Server installation (NVD).

Mitigation and workarounds

GitHub has addressed this vulnerability through security updates in multiple versions of GitHub Enterprise Server, including versions 2.21.17, 2.22.9, and 3.0.3 (GitHub Docs 2.21, GitHub Docs 2.22, GitHub Docs 3.0).

Additional resources


SourceThis report was generated using AI

Related GitHub Enterprise Server vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-11892HIGH8.6
  • GitHub Enterprise ServerGitHub Enterprise Server
  • cpe:2.3:a:github:enterprise_server
NoYesNov 10, 2025
CVE-2025-11578HIGH7.5
  • GitHub Enterprise ServerGitHub Enterprise Server
  • cpe:2.3:a:github:enterprise_server
NoNoNov 10, 2025
CVE-2025-8447HIGH7
  • GitHub Enterprise ServerGitHub Enterprise Server
  • cpe:2.3:a:github:enterprise_server
NoYesAug 26, 2025
CVE-2025-6600MEDIUM6.3
  • GitHub Enterprise ServerGitHub Enterprise Server
  • cpe:2.3:a:github:enterprise_server
NoYesJul 01, 2025
CVE-2025-6981MEDIUM5.3
  • GitHub Enterprise ServerGitHub Enterprise Server
  • cpe:2.3:a:github:enterprise_server
NoYesJul 15, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management