Path traversal in GitHub Enterprise Server allowed unauthenticated deletion of instance storage via the X-GitHub-Request-Id header
Overview
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.
- Published
- 8/5/2026
- Last modified
- 10/23/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
enterprise server github | < 3.17.19 | Verify advisory | Source |
enterprise server github | ≥ 3.18.0, < 3.18.13 | Verify advisory | Source |
enterprise server github | ≥ 3.19.0, < 3.19.10 | Verify advisory | Source |
enterprise server github | ≥ 3.20.0, < 3.20.6 | Verify advisory | Source |
enterprise server github | ≥ 3.21.0, < 3.21.4 | Verify advisory | Source |
Enterprise Server GitHub | ≥ 3.17.0, ≤ 3.17.18 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Enterprise Server GitHub | ≥ 3.18.0, ≤ 3.18.12 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Enterprise Server GitHub | ≥ 3.19.0, ≤ 3.19.9 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Enterprise Server GitHub | ≥ 3.20.0, ≤ 3.20.5 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Enterprise Server GitHub | ≥ 3.21.0, ≤ 3.21.3 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 8.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.