CVE-2026-9312 PUBLISHED

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

Assigner: GitHub_P
Reserved: 22.05.2026 Published: 27.05.2026 Updated: 27.05.2026

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.16.20, 3.17.17, 3.18.11, 3.19.8, 3.20.4, and 3.21.1. This vulnerability was reported via the GitHub Bug Bounty program.

Metrics

CVSS Vector: 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
CVSS Score: 9.2

Product Status

Vendor GitHub
Product Enterprise Server
Versions Default: affected
  • affected from 3.16.0 to 3.16.19 (incl.)
  • affected from 3.17.0 to 3.17.16 (incl.)
  • affected from 3.18.0 to 3.18.10 (incl.)
  • affected from 3.19.0 to 3.19.7 (incl.)
  • affected from 3.20.0 to 3.20.3 (incl.)
  • affected from 3.21.0 to 3.21.1 (excl.)

Credits

  • ahacker1 finder

References

Problem Types

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

Impacts

  • CAPEC-664 Server Side Request Forgery