GitHub Enterprise Server: path traversal
High8.8CVE-2026-17556 · Published Aug 5, 2026 · updated Aug 18, 2026
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 versions
| Package | Affected | Fixed in |
|---|---|---|
| Enterprise Server Product | >= 3.17.0, <= 3.17.18 | No fix yet |
| >= 3.18.0, <= 3.18.12 | No fix yet | |
| >= 3.19.0, <= 3.19.9 | No fix yet | |
| >= 3.20.0, <= 3.20.5 | No fix yet |
Details and references
- CVSS 4.0
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-22
- www.cve.org/CVERecord?id=CVE-2026-17556
- nvd.nist.gov/vuln/detail/CVE-2026-17556
- docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.19
- docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.13
- docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.10
- docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.6
- docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.4
More GitHub advisories
All GitHub| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Aug 8 | gh-aw: safe-output validator forwards undeclared agent fields to the appliers (scope escape / mass assignment) | Critical9.1 | v0.86.1 |
| Aug 7 | gh-aw: unauthenticated prompt-injection to code execution in the shipped ai-moderator workflow | Medium6.5 | v0.86.1 |
| Aug 7 | command injection in compiled workflow via unsanitized `sandbox.mcp.env` exports | Critical9.6 | v0.86.0 |
| Aug 7 | gh-aw: URL allowlist bypass via userinfo @ in the content sanitizer (exfiltration channel) | Medium6.8 | v0.86.0 |
| Aug 6 | Safe-outputs config emitter: JSON injection via templated values despite env-var indirection | High8.5 | v0.78.0 |
| Aug 5 | GitHub Enterprise Server: denial of service | Medium6.6 | No fix yet |