CVE-2026-9312

Server-Side Request Forgery vulnerability in GitHub Enterprise Server allowed access to internal services via path traversal in upload endpoint

State
Published
Severity
9.2 Critical
Published
May 27, 2026
Updated
Jun 30, 2026
Reserved
May 22, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.09.2 CriticalCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NGitHub_P

Weaknesses

  • CWE-918 Server-Side Request Forgery (SSRF)

Affected Products

ProductVersions
Enterprise ServerGitHub
  • 3.16.0 through 3.16.19Affectedfrom 3.16.20Not affected
  • 3.17.0 through 3.17.16Affectedfrom 3.17.17Not affected
  • 3.18.0 through 3.18.10Affectedfrom 3.18.11Not affected
  • 3.19.0 through 3.19.7Affectedfrom 3.19.8Not affected
  • 3.20.0 through 3.20.3Affectedfrom 3.20.4Not affected
  • 3.21.0 to before 3.21.1Affectedfrom 3.21.1Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.