Vulnerability · Published Aug 5, 2026 · Assigned by GitHub_P
CVE-2026-17556Path traversal in GitHub Enterprise Server allowed unauthenticated deletion of instance storage via the X-GitHub-Request-Id header
High 8.8
In plain English
A high-severity path traversal in Enterprise Server from GitHub. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| GitHub | Enterprise Server | 3.17.0 – through 3.17.183.18.0 – through 3.18.123.19.0 – through 3.19.93.20.0 – through 3.20.53.21.0 – through 3.21.3 |
Weakness: CWE-22 · Vector: 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
References
- https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.19 release-notes
- https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.13 release-notes
- https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.10 release-notes
- https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.6 release-notes
- https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.4 release-notes