Vulnerability details
CVE-2026-9312
Server-Side Request Forgery vulnerability in GitHub Enterprise Server allowed access to internal services via path traversal in upload endpoint
Official description
A server-side request forgery (SSRF) vulnerability was identified in GitHub Enterprise Server that allowed an unauthenticated attacker to send crafted requests to internal services by exploiting insufficient input validation in an upload endpoint. By injecting path traversal content into request parameters, an attacker could bypass the intended request flow and redirect internal API calls, potentially accessing internal services and exposing sensitive credentials. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.22 and was fixed in versions 3.17.17, 3.18.11, 3.19.8, 3.20.4, and 3.21.2. This vulnerability was reported via the GitHub Bug Bounty program.
CVSS scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 9.2Critical | 4.0 | CVEProject cvelistV5 (CNA) (GitHub_P) | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| GitHub | Enterprise Server | 3.16.0 ≤ v ≤ 3.16.19 | CVEProject cvelistV5 (CNA) |
| GitHub | Enterprise Server | 3.17.0 ≤ v ≤ 3.17.16 | CVEProject cvelistV5 (CNA) |
| GitHub | Enterprise Server | 3.18.0 ≤ v ≤ 3.18.10 | CVEProject cvelistV5 (CNA) |
| GitHub | Enterprise Server | 3.19.0 ≤ v ≤ 3.19.7 | CVEProject cvelistV5 (CNA) |
| GitHub | Enterprise Server | 3.20.0 ≤ v ≤ 3.20.3 | CVEProject cvelistV5 (CNA) |
| GitHub | Enterprise Server | 3.21.0 ≤ v < 3.21.1 | CVEProject cvelistV5 (CNA) |
References and advisories
5- https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.17 release-notes
- https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.11 release-notes
- https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.8 release-notes
- https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.4 release-notes
- https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.2 release-notes
Details
- Published
- 2026-05-27
- Last updated
- 2026-07-01
- State
- Published
- Assigner (CNA)
- GitHub_P
Exploit prediction (EPSS)
SSVC assessment (CISA)
- Automatable
- No
- Exploitation
- None
- Technical impact
- Total
Weaknesses (CWE)
- CWE-918Server-Side Request Forgery (SSRF)