CVE-2026-17556
criticalA path traversal vulnerability was identified in GitHub Enterprise Server that allowed an unauthenticated attacker to delete arbitrary files and directories on…
Vendor / product: Github — enterprise server
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H Affected products
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.19 product-cna@github.com
- https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.13 product-cna@github.com
- https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.10 product-cna@github.com
- https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.6 product-cna@github.com
- https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.4 product-cna@github.com
