Live threats

All CVEs / Github

CVE-2026-77987Github Enterprise Server

Server-Side Request Forgery in GitHub Enterprise Server Notebook Viewer

Critical 9.3 No auth needed

Priority
71
CVSS 4.0
9.3
EPSS
—
Auth required
No
Published
Sep 22, 2026
Updated
Oct 2, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-208, CWE-918
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

A server-side request forgery vulnerability in GitHub Enterprise Server's notebook viewer allows unauthenticated attackers (or any authenticated user if private mode is enabled) to direct requests to internal services on alternate ports. By analyzing response timing, instance secrets can be extracted and used to achieve remote code execution. Affects versions 3.17 through 3.22.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 3.17.21, 3.18.15, 3.19.12, 3.20.8, 3.21.6, 3.22.1

Update GitHub Enterprise Server to the corresponding fixed version for your branch: 3.17.21, 3.18.15, 3.19.12, 3.20.8, 3.21.6, or 3.22.1.

Vendor advisory · docs.github.com ↗

  1. Apply the vendor's security update for Enterprise Server.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
githubenterprise_server≥ 3.17.0 < 3.17.21
githubenterprise_server≥ 3.18.0 < 3.18.15
githubenterprise_server≥ 3.19.0 < 3.19.12
githubenterprise_server≥ 3.20.0 < 3.20.8
githubenterprise_server≥ 3.21.0 < 3.21.6
githubenterprise_server≥ 3.22.0 < 3.22.1

Official sources

References

Links published by the sources. Open them with care.