CVE-2026-17556
published high CVSS 4.0 · 8.8Path traversal in GitHub Enterprise Server allowed unauthenticated deletion of instance storage via the X-GitHub-Request-Id header
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GitHub | — | Enterprise Server3.17.0 through 3.17.18 (affected · semver); changes: unaffected at 3.17.19 · 3.18.0 through 3.18.12 (affected · semver); changes: unaffected at 3.18.13 · 3.19.0 through 3.19.9 (affected · semver); changes: unaffected at 3.19.10 · 3.20.0 through 3.20.5 (affected · semver); changes: unaffected at 3.20.6 · 3.21.0 through 3.21.3 (affected · semver); changes: unaffected at 3.21.4 · Other versions: affected | Version-specific | Not stated | GitHub_P |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- GitHub_P · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GitHub | Enterprise Server | 3.17.0 through 3.17.18 (affected · semver); changes: unaffected at 3.17.193.18.0 through 3.18.12 (affected · semver); changes: unaffected at 3.18.133.19.0 through 3.19.9 (affected · semver); changes: unaffected at 3.19.103.20.0 through 3.20.5 (affected · semver); changes: unaffected at 3.20.63.21.0 through 3.21.3 (affected · semver); changes: unaffected at 3.21.4Default: affected | GitHub_P · cna |
Weaknesses
1- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
5- https://docs.github.com/en/[email protected]/admin/release-notes#3.17.19
- https://docs.github.com/en/[email protected]/admin/release-notes#3.18.13
- https://docs.github.com/en/[email protected]/admin/release-notes#3.19.10
- https://docs.github.com/en/[email protected]/admin/release-notes#3.20.6
- https://docs.github.com/en/[email protected]/admin/release-notes#3.21.4
Provider assertions
2GitHub_P · cna
Path traversal in GitHub Enterprise Server allowed unauthenticated deletion of instance storage via the X-GitHub-Request-Id header
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e96fa34e1a98e81f6b39b7d116323ddc2bc936d941dcc0750400b67d29987b80
- Ingested
- 23 Sep 2026, 09:03:04 UTC
- Source record
- Official CVE record