Skip to main content

GitHub Enterprise Server CVE-2026-4821

| EUVDEUVD-2026-24547 HIGH
OS Command Injection (CWE-78)
2026-04-21 product-cna@github.com GHSA-6hg9-m8fv-wq83
8.1
CVSS 4.0 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Management Console admin access
  2. Delivery
    Open proxy configuration settings
  3. Exploit
    Inject shell metacharacters into http_proxy field
  4. Execution
    Instance passes value to shell unsanitized
  5. Impact
    Execute arbitrary OS commands on appliance

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires (1) network or local access to the GitHub Enterprise Server instance's Management Console and (2) Management Console administrator privileges - this is not a pre-authentication or standard-user issue. The concrete trigger is entering shell metacharacters into a proxy configuration field such as http_proxy in the Management Console settings; the vulnerable code path is reached only when such a proxy value is submitted and processed. Limiting factors that reduce realistic risk: the attacker must already hold the highest administrative role on the appliance (PR:H), there is no remote unauthenticated path (AV:L, UI:N), and it affects instances running any version prior to the fixed releases. Because a Management Console admin is already a highly trusted operator, the practical significance is a privilege-boundary escape from console administration to arbitrary OS command execution.

Impact

Signals are consistent and point to a real-but-gated risk rather than a mass-exploitation emergency. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:H/UI:N, VI:H/SI:H, other impacts N) scores 8.1 and requires local access plus high privileges (Management Console administrator), which is a significant barrier. EPSS is 0.01% (3rd percentile) and CISA SSVC records Exploitation: none, Automatable: no, Technical Impact: partial - all reinforcing low near-term exploitation likelihood. There is no KEV listing and no public exploit identified. The tension worth noting: the vendor vector marks confidentiality and availability as None and only integrity/system-integrity as High, which understates the practical outcome - arbitrary OS command execution typically enables full read, tamper, and disruption of the appliance, so real-world technical impact is likely higher than the vector's C:N/A:N implies. Net priority: patch on a normal-to-expedited cadence; it is a meaningful post-compromise escalation and insider-abuse vector, not an internet-facing worm risk.

Exploit ScenarioDerived

An attacker who has obtained Management Console administrator access - for example a rogue insider, or an external attacker who phished or reused stolen console credentials - logs into the console, opens the proxy configuration, and enters a value like http://proxy;<malicious command> into the http_proxy field. When the instance processes the setting, the injected shell metacharacters cause the payload to execute as an OS command on the appliance, giving the attacker code execution beyond the intended console boundary. No public exploit code is currently identified, and the attack requires the high-privilege console access described by the CVSS local/PR:H vector.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

OS command injection in GitHub Enterprise Server (all releases prior to 3.21) lets an authenticated Management Console administrator run arbitrary shell commands on the underlying appliance by embedding shell metacharacters in proxy configuration fields such as http_proxy. The flaw was reported through the GitHub Bug Bounty program and there is no public exploit identified at time of analysis; EPSS is negligible (0.01%, 3rd percentile) and CISA SSVC rates exploitation as none. Because it requires high-privilege console access, it is primarily a privilege-boundary escape from Management Console admin to full OS-level control rather than a remotely reachable pre-auth issue.

RemediationAI

Vendor-released patches are available: upgrade GitHub Enterprise Server to 3.20.1, 3.19.5, 3.18.8, 3.17.14, 3.16.17, 3.15.21, or the fixed 3.14 line release (description states 3.14.26; the linked release note references 3.14.24 - confirm with the vendor), matching your deployed release line, using the release notes at https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.1 and the equivalent per-version pages. If immediate patching is not possible, the practical compensating control is to tightly restrict who holds Management Console administrator credentials and network access to the console: enforce strong, unique console passwords, place the Management Console behind an admin-only network segment or VPN/allowlist so it is not broadly reachable, and enable auditing/alerting on any change to proxy settings - the trade-off is added operational friction for legitimate admins and no protection against a malicious or compromised console admin, so this is a stopgap only. Avoid editing proxy configuration fields with untrusted values until patched.

Affected VersionsENISA

Enterprise Server 3.14.0 ≤3.14.25
Enterprise Server 3.18.0 ≤3.18.7
Enterprise Server 3.19.0 ≤3.19.4
Enterprise Server 3.16.0 ≤3.16.16
Enterprise Server 3.17.0 ≤3.17.13
Enterprise Server 3.15.0 ≤3.15.20
Enterprise Server 3.20.0 <3.20.1

Affected Packages

euvd enterprise_server fix: 3.20.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

GitHub Enterprise Server is the self-hosted, on-premises appliance version of GitHub, administered in part through a web-based Management Console that stores instance settings including outbound proxy parameters (http_proxy, and similarly HTTPS/no_proxy style fields). The root cause is CWE-78 (Improper Neutralization of Special Elements used in an OS Command): user-supplied proxy values are passed into a shell context without adequate sanitization, so metacharacters (e.g. ;, |, $(), backticks) break out of the intended argument and are interpreted as commands. The affected CPE is cpe:2.3:a:github:enterprise_server across the vulnerable version lines, with 3.20.0 explicitly enumerated. This is a classic configuration-field-to-shell injection pattern where an administrative input that appears to be a simple string is consumed by a system-level command invocation.

Know when Github gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 8.1 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N
vuln.today AI 6.7 MEDIUM

Requires local Management Console admin access (AV:L, PR:H) with no user interaction, but shell command injection yields full OS compromise, so C/I/A are all High - broader than the vendor's integrity-only rating.

3.1 AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
High
Subsequent system: Availability
None

Lifecycle Timeline

3
Patch released
Apr 29, 2026 - 12:36 nvd
Patch available
Patch available
Apr 22, 2026 - 02:01 EUVD
CVE Published
Apr 21, 2026 - 23:16 nvd
HIGH 8.1

DescriptionGitHub Advisory

An improper neutralization of special elements vulnerability was identified in GitHub Enterprise Server that allowed an authenticated Management Console administrator to execute arbitrary OS commands via shell metacharacter injection in proxy configuration fields such as http_proxy. Exploitation of this vulnerability required access to the GitHub Enterprise Server instance and administrator privileges to the Management Console. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.21 and was fixed in versions 3.20.1, 3.19.5, 3.18.8, 3.17.14, 3.16.17, 3.15.21, 3.14.26. This vulnerability was reported via the GitHub Bug Bounty program.

Executive ViewAI

Why It Matters

GitHub Enterprise Server prior to version 3.21 contains an OS command injection vulnerability in the Management Console that permits authenticated administrators to execute arbitrary shell commands on the underlying appliance. No public exploit identified at time of analysis; however, this privilege-boundary escape could enable insiders or compromised admin accounts to achieve full operating system control, creating significant infrastructure and data security risk. Urgent patching is required to close this administrative control boundary.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% exploitable
Prevalence
High
widely deployed self-hosted enterprise DevOps platform in large organizations
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

More in Github

View all
CVE-2026-1699 CRITICAL POC
10.0 Jan 30

Supply chain vulnerability in Eclipse Theia GitHub Actions workflow. The preview.yml workflow uses pull_request_target w

CVE-2026-27941 CRITICAL POC
9.9 Feb 26

Supply chain attack vector in OpenLIT GitHub Actions workflows. The pull_request_target trigger with checkout enables ma

CVE-2026-22869 CRITICAL POC
9.8 Jan 13

Eigent multi-agent workflow CI pipeline (ci.yml) uses pull_request_target with checkout of untrusted PR code, enabling a

CVE-2024-0200 CRITICAL POC
9.8 Jan 16

An unsafe reflection vulnerability was identified in GitHub Enterprise Server that could lead to reflection injection. R

CVE-2022-24724 CRITICAL POC
9.8 Mar 03

cmark-gfm is GitHub's extended version of the C reference implementation of CommonMark. Rated critical severity (CVSS 9.

CVE-2024-9487 CRITICAL POC
9.5 Oct 10

An improper verification of cryptographic signature vulnerability was identified in GitHub Enterprise Server that allowe

CVE-2026-28215 CRITICAL POC
9.1 Feb 26

Unauthenticated infrastructure overwrite in Hoppscotch API development ecosystem before 2026.2.0. Attackers can overwrit

CVE-2018-1000600 HIGH POC
8.8 Jun 26

A exposure of sensitive information vulnerability exists in Jenkins GitHub Plugin 1.29.1 and earlier in GitHubTokenCrede

CVE-2026-30920 HIGH POC
8.6 Mar 10

OneUptime versions prior to 10.0.19 allow unauthenticated attackers to hijack GitHub App integrations across projects by

CVE-2026-25221 HIGH POC
8.1 Feb 02

PolarLearn versions 0-PRERELEASE-15 and earlier lack proper state parameter validation in OAuth 2.0 authentication, enab

CVE-2026-23644 HIGH POC
7.5 Jan 18

Path traversal in esm.sh CDN prior to version 0.0.0-20260116051925-c62ab83c589e allows unauthenticated remote attackers

CVE-2024-42471 HIGH POC
7.5 Sep 02

actions/artifact is the GitHub ToolKit for developing GitHub Actions. Rated high severity (CVSS 7.5), this vulnerability

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy