
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-17556 is a path traversal vulnerability in GitHub Enterprise Server (GHES) that allows 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 root cause is the unsanitized use of the X-GitHub-Request-Id HTTP request header as a filesystem path segment for the upload buffer directory, enabling directory traversal. All versions of GHES prior to 3.22 are affected, spanning the 3.17, 3.18, 3.19, 3.20, and 3.21 release lines. The vulnerability was disclosed on August 5, 2026, and was reported via the GitHub Bug Bounty program. It carries a CVSS v3.1 base score of 9.1 (Critical) and a CVSS v4.0 base score of 8.8 (High) (GitHub Advisory, GHES 3.21 Release Notes).
The vulnerability is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory — 'Path Traversal'). The X-GitHub-Request-Id request header value is consumed without sanitization and used directly as a filesystem path segment to construct the upload buffer directory path. An attacker can supply a traversal sequence (e.g., ../../target/path) in this header, causing the buffer directory to point to an arbitrary location on the filesystem. When the deferred cleanup routine runs, it recursively removes the traversed target directory, effectively enabling unauthenticated remote deletion of arbitrary files and directories. No authentication is required, and the attack succeeds even when GHES private mode is enabled, making the only prerequisite network reachability to the instance (GitHub Advisory, GHES 3.17 Release Notes).
Successful exploitation allows an unauthenticated, network-adjacent attacker to permanently delete arbitrary files and directories on the GHES instance. The most severe impact is the potential destruction of the entire user storage directory, which contains Git LFS objects, release assets, file attachments, and user avatars — resulting in irreversible data loss and a permanent denial of service for affected repositories. There is no confidentiality impact (no data exfiltration), but the integrity and availability impacts are both rated High, as critical repository data can be destroyed and the platform rendered non-functional for users (GitHub Advisory, GHES 3.20 Release Notes).
As of the time of disclosure, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (GitHub Advisory). The vulnerability is rated as automatable by NVD's SSVC assessment, meaning it can be exploited at scale without human interaction. The EPSS score is approximately 0.46%, indicating a relatively low (but non-negligible) probability of exploitation in the near term. The vulnerability has not been added to the CISA Known Exploited Vulnerabilities (KEV) catalog as of the disclosure date. No threat actor attribution has been reported.
X-GitHub-Request-Id header to construct the upload buffer directory path.X-GitHub-Request-Id header to a path traversal value such as ../../data/user/storage or another target directory path (e.g., ../../../../var/lib/ghes/user-storage) to redirect the buffer directory to the desired deletion target.../, %2e%2e%2f, or encoded variants) in the X-GitHub-Request-Id header value; requests originating from unknown or external IP addresses with no corresponding authenticated session./data/user/storage or equivalent), including Git LFS objects, release assets, attachments, and avatar files; unexpected empty directories where user content previously existed.X-GitHub-Request-Id header values containing directory traversal patterns; filesystem audit logs (if enabled) recording recursive deletion events initiated by the GHES web service process.rm -rf or equivalent filesystem operations initiated by the GHES application process against directories outside the expected upload buffer path.GitHub has released patched versions addressing CVE-2026-17556: 3.17.19, 3.18.13, 3.19.10, 3.20.6, and 3.21.4, all released on August 5, 2026. Organizations running GHES 3.22 or later are not affected. Upgrading to one of the fixed versions is the recommended and only confirmed remediation. As a temporary network-level workaround if immediate patching is not possible, restrict network access to the GHES instance to trusted IP ranges to reduce exposure, though this does not eliminate the vulnerability. No configuration-based workaround within GHES itself has been documented (GHES 3.21 Release Notes, GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."