GitHub Enterprise Server Flaw Allowed Unauthenticated File Deletion
Vulnerability Disclosure · 2 sources · Updated 3mo ago · First seen Aug 5, 2026

GitHub released security updates for a high-severity vulnerability in GitHub Enterprise Server that could let an unauthenticated remote attacker delete arbitrary files and directories on affected instances. Tracked as CVE-2026-17556, the bug is a path traversal issue caused by unsanitized use of the X-GitHub-Request-Id header as part of a filesystem path for an upload buffer directory, which can then be recursively removed by a cleanup routine. The flaw is rated CVSS 8.8 and mapped to CWE-22.
According to the advisories, the issue affects all GitHub Enterprise Server versions prior to 3.22, including 3.21.x before 3.21.4, 3.20.x before 3.20.6, 3.19.x before 3.19.10, 3.18.x before 3.18.13, and 3.17.x before 3.17.19. The vulnerability requires only network access, does not require authentication, and remains exploitable even when private mode is enabled. Authorities and vendor guidance recommend upgrading immediately to the fixed releases referenced in GitHub’s security bulletins.


