SSRF in GitHub Enterprise Server
CVE-2026-77987
A server-side request forgery (SSRF) vulnerability was identified in the notebook viewer of GitHub Enterprise Server. The notebook viewer validated the scheme and host of a user-supplied URL but did not validate the port, allowing requests to be directed to internal services listening on other ports of the same appliance. Response bodies were not returned to the requester, but response timing acted as an oracle that allowed instance secrets to be extracted character by character. An extracted secret could then be used in a separate interaction with an internal service to obtain remote code execution on the appliance. Exploitation required network access to the instance and was unauthenticated when private mode was disabled, or required any authenticated user when private mode was enabled. This vulnerability affected GitHub Enterprise Server versions 3.17 through 3.22 and was fixed in versions 3.22.1, 3.21.6, 3.20.8, 3.19.12, 3.18.15, and 3.17.21. This vulnerability was reported through the GitHub Bug Bounty program.
Published .
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- docs.github.com/en/enterprise-server@3.17/admin/release-notes (release-notes)
- docs.github.com/en/enterprise-server@3.18/admin/release-notes (release-notes)
- docs.github.com/en/enterprise-server@3.19/admin/release-notes (release-notes)
- docs.github.com/en/enterprise-server@3.20/admin/release-notes (release-notes)
- docs.github.com/en/enterprise-server@3.21/admin/release-notes (release-notes)
- docs.github.com/en/enterprise-server@3.22/admin/release-notes (release-notes)