Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify network-reachable GHES instance
-
DeliveryCraft HTTP request with traversal payload in X-GitHub-Request-Id header
-
ExploitSubmit request to upload endpoint
-
ExecutionServer constructs out-of-bounds buffer directory path
-
PersistDeferred cleanup routine triggers recursive deletion
-
ImpactTarget 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (github).
CVSS VectorVendor: github
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Supply chain vulnerability in Eclipse Theia GitHub Actions workflow. The preview.yml workflow uses pull_request_target w
Supply chain attack vector in OpenLIT GitHub Actions workflows. The pull_request_target trigger with checkout enables ma
Eigent multi-agent workflow CI pipeline (ci.yml) uses pull_request_target with checkout of untrusted PR code, enabling a
An unsafe reflection vulnerability was identified in GitHub Enterprise Server that could lead to reflection injection. R
cmark-gfm is GitHub's extended version of the C reference implementation of CommonMark. Rated critical severity (CVSS 9.
An improper verification of cryptographic signature vulnerability was identified in GitHub Enterprise Server that allowe
Unauthenticated infrastructure overwrite in Hoppscotch API development ecosystem before 2026.2.0. Attackers can overwrit
A exposure of sensitive information vulnerability exists in Jenkins GitHub Plugin 1.29.1 and earlier in GitHubTokenCrede
OneUptime versions prior to 10.0.19 allow unauthenticated attackers to hijack GitHub App integrations across projects by
PolarLearn versions 0-PRERELEASE-15 and earlier lack proper state parameter validation in OAuth 2.0 authentication, enab
Path traversal in esm.sh CDN prior to version 0.0.0-20260116051925-c62ab83c589e allows unauthenticated remote attackers
actions/artifact is the GitHub ToolKit for developing GitHub Actions. Rated high severity (CVSS 7.5), this vulnerability
EUVD-2026-53608
GHSA-h3g3-4265-wv56
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB