Path traversal in GitHub Enterprise Server allowed unauthenticated deletion of instance storage via the X-GitHub-Request-Id header
CVE-2026-17556Published 5 Aug 2026, 20:05 UTC
Real-world risk
6.0/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.8
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_P)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| GitHub Enterprise ServerWidespread | >= 3.17.0, <= 3.17.18; >= 3.18.0, <= 3.18.12; >= 3.19.0, <= 3.19.9; >= 3.20.0, <= 3.20.5; >= 3.21.0, <= 3.21.3 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data tamperingWrites or changes important data without gaining execution | From the CVSS vector | 0.70 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.5% chance of exploitation in 30 days (percentile 45), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.7 × prerequisites 1 × threat 0.855.950
- Rounded to one decimal between 0.1 and 106.0
Exploitation and evidence timeline
- 5 Aug 2026 Published
- 3 Dec 2026 Risk 6.0 (cvss fallback)
Weakness
CWE-22
References
- https://docs.github.com/en/[email protected]/admin/release-notes#3.17.19release-notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.18.13release-notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.19.10release-notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.20.6release-notes
- https://docs.github.com/en/[email protected]/admin/release-notes#3.21.4release-notes
- CVE-2026-17556 on CVE.org