Skip to main content

GitHub Enterprise Server CVE-2026-17556

| EUVDEUVD-2026-53608 HIGH
Path Traversal (CWE-22)
2026-08-05 product-cna@github.com GHSA-h3g3-4265-wv56
8.8
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Identify network-reachable GHES instance
  2. Delivery
    Craft HTTP request with traversal payload in X-GitHub-Request-Id header
  3. Exploit
    Submit request to upload endpoint
  4. Execution
    Server constructs out-of-bounds buffer directory path
  5. Persist
    Deferred cleanup routine triggers recursive deletion
  6. Impact
    Target directory and all contents destroyed

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

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

Exploitation Conditions

The vulnerable code path is the upload endpoint's handling of the X-GitHub-Request-Id header, which is a standard part of the default GitHub Enterprise Server configuration - no non-default feature flag, configuration setting, or optional module is required to trigger this vulnerability. Exploitation requires only TCP network reachability to the GHES HTTPS port (typically 443); the attack succeeds regardless of whether the instance has private mode enabled, removing a configuration control that administrators might otherwise rely on as a security boundary. The CVSS PR:N vector is confirmed - no authentication or valid session is required. No user interaction is required on the server side. The sole limiting factor is network reachability: instances completely isolated behind a perimeter firewall that restricts inbound access to trusted IPs reduce external exposure, but remain vulnerable to any attacker on the permitted network segments. Versions 3.17.19, 3.18.13, 3.19.10, 3.20.6, 3.21.4, and 3.22+ are not affected.

Impact

The vendor-assigned CVSS 4.0 score of 8.8 with AV:N/AC:L/AT:N/PR:N/UI:N reflects the actual exploitation conditions accurately: the attack is network-initiated, requires no authentication, no special attack prerequisites, and no user interaction. The impact metrics VI:H and VA:H capture the dual nature of this vulnerability - it can destroy data integrity and render the service unavailable by wiping storage. VC:N confirms there is no confidentiality primitive; this is purely a destructive capability. No EPSS data was provided in the source intelligence, so probabilistic exploitation likelihood cannot be quantified. The CVE is not listed in the CISA KEV catalog and no public exploit code has been identified, which somewhat reduces immediate urgency. However, the attack mechanics described are straightforward - a single crafted HTTP header value - and the absence of private mode as a protective control eliminates a common assumed boundary for GHES deployments. Organizations with internet-facing GHES instances face the highest real-world risk, but even internally-facing instances are at risk from any attacker with internal network access. The combination of destructive impact, zero authentication barrier, and wide attack surface makes this a higher operational priority than its KEV-absent status might suggest.

Exploit ScenarioDerived

An attacker with network access to the GHES HTTPS endpoint sends an HTTP request to the upload API endpoint with an X-GitHub-Request-Id header value containing a path traversal sequence such as '../../var/github/user-storage', directing the upload buffer to resolve to the instance's primary user storage directory. When the upload lifecycle completes and the server's deferred cleanup routine executes, it recursively deletes the traversed target directory, destroying all Git LFS objects, release assets, pull request attachments, and user avatars on the instance. No public proof-of-concept code has been identified at time of analysis, but the attack requires only standard HTTP tooling and knowledge of the header name.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 05, 2026

Unauthenticated arbitrary file and directory deletion in GitHub Enterprise Server allows any network-reachable attacker to recursively destroy critical instance data - including Git LFS objects, release assets, issue attachments, and user avatars - by injecting a path traversal sequence into the X-GitHub-Request-Id HTTP request header. The vulnerability stems from using this header value unsanitized as a filesystem path component for an upload buffer directory; a deferred cleanup routine then recursively deletes whatever directory the traversal resolves to, including the entire user storage root. No public exploit has been identified at time of analysis and the CVE is not in the CISA KEV catalog, but the near-zero exploitation bar - no authentication, no user interaction, effective even with private mode enabled - makes this a critical priority for any organization running on-premises GitHub Enterprise Server.

RemediationAI

Upgrade GitHub Enterprise Server to one of the vendor-confirmed patched releases: 3.17.19, 3.18.13, 3.19.10, 3.20.6, or 3.21.4, as documented in the official release notes at https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.19, https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.13, https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.10, https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.6, and https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.4. If immediate patching is not feasible, restrict network access to the GHES instance at the perimeter firewall or load-balancer level, limiting inbound HTTPS connections to known trusted source IPs only - this reduces exposure to external attackers but does not protect against internal network threats. No configuration-only workaround exists to disable the vulnerable upload header processing without breaking GHES upload functionality. Given that successful exploitation can wipe the entire user storage directory, verify that off-instance backups are current and intact before and after patching, as a potential pre-patch exploitation attempt may have already caused data loss.

Affected VersionsENISA

Enterprise Server 3.20.0 ≤3.20.5
Enterprise Server 3.18.0 ≤3.18.12
Enterprise Server 3.19.0 ≤3.19.9
Enterprise Server 3.17.0 ≤3.17.18
Enterprise Server 3.21.0 ≤3.21.3

Affected Packages

euvd enterprise_server no fix

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 (GHES) is the self-hosted edition of GitHub's platform, deployed by enterprises to run Git repository hosting, CI/CD integration, and code review workflows internally. The vulnerability is classified under CWE-22 (Improper Limitation of a Pathname to a Restricted Directory - Path Traversal). The root cause is that the X-GitHub-Request-Id HTTP request header - a client-controlled value - is used without sanitization as a path segment when constructing the upload buffer directory on the server filesystem. When a traversal payload (e.g., ../../arbitrary/target) is supplied in this header, the server constructs an out-of-bounds directory path pointing to an attacker-chosen location. A deferred cleanup routine - likely triggered after the upload request lifecycle completes - then performs a recursive delete of that constructed path. This transforms what might appear to be a buffer-management code path into a remote, unauthenticated filesystem destruction primitive. All versions of GHES prior to 3.22 are affected across the 3.17 through 3.21 branches.

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

Vendor (github) PRIMARY 8.8 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 9.1 CRITICAL

Network-reachable unauthenticated attack with no interaction; no confidentiality impact since the primitive is deletion only; integrity and availability both high due to recursive filesystem destruction.

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

Primary rating from Vendor (github).

CVSS VectorVendor: github

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

DescriptionCVE.org

A path traversal vulnerability was identified in GitHub Enterprise Server that allowed an unauthenticated attacker to delete arbitrary files and directories on the instance, including the entire user storage directory containing Git LFS objects, release assets, attachments, and avatars. The X-GitHub-Request-Id request header was used without sanitization as a filesystem path segment for the upload buffer directory, so a traversal value pointed the buffer at an arbitrary path and the deferred cleanup routine recursively removed the traversed target. Exploitation required only network reachability to the instance and no authentication, and it worked even when private mode was enabled. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.22 and was fixed in versions 3.21.4, 3.20.6, 3.19.10, 3.18.13 and 3.17.19. This vulnerability was reported via the GitHub Bug Bounty program.

Executive ViewAI

Why It Matters

GitHub Enterprise Server deployments face a critical vulnerability (CVE-2026-17556, CVSS 8.8) enabling unauthenticated deletion of entire repositories, release assets, and user data through a single HTTP request from any network-connected attacker. Organizations running on-premises GitHub Enterprise Server with external network access face immediate risk of catastrophic, potentially unrecoverable data loss; no vendor patch is currently available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: (1) network segmentation restricting GitHub Enterprise Server access from external sources; (2) WAF or reverse proxy rules blocking path traversal patterns (../) in all HTTP headers; (3) automated encrypted backups with tested monthly restoration procedures; (4) monitoring and alerting on suspicious X-GitHub-Request-Id header patterns in access logs; (5) documented incident response playbooks enabling rapid data restoration.

Threat Intelligence Overview

EPSS Score
0.5%
Top 62% exploitable
Prevalence
Medium
paid self-hosted Git platform, common in enterprises but not ubiquitous
Data Quality
6 sources
Confidence: High

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.5%
Patch available No
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
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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