CVE-2026-77987GitHub Enterprise Server notebook viewer vulnerable to Server-side request forgery
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.
Overview
Severity
| Score | Severity | Version | Vector String |
|---|---|---|---|
| 9.3 | CRITICAL | 4.0GitHub_P (CNA) | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| 9.8 | CRITICAL | 3.1NVD | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Details
- CVE ID
- CVE-2026-77987
- Status
- Analyzed
- Assigner (CNA)
- GitHub_P
- Published
- Sep 22, 2026
- Last modified
- 2026-10-02 18:37 UTC
Affected Products
As published by the CNA in the CVE record.
GitHubEnterprise Server6 version ranges
- 3.17.0 before 3.17.*
- 3.18.0 before 3.18.*
- 3.19.0 before 3.19.*
- 3.20.0 before 3.20.*
- 3.21.0 before 3.21.*
- 3.22.0 before 3.22.*
References
- docs.github.com https://docs.github.com/en/[email protected]/admin/release-notes#3.17.21
- docs.github.com https://docs.github.com/en/[email protected]/admin/release-notes#3.18.15
- docs.github.com https://docs.github.com/en/[email protected]/admin/release-notes#3.19.12
- docs.github.com https://docs.github.com/en/[email protected]/admin/release-notes#3.20.8
- docs.github.com https://docs.github.com/en/[email protected]/admin/release-notes#3.21.6
- docs.github.com https://docs.github.com/en/[email protected]/admin/release-notes#3.22.1