Skip to content
RedCVE

CVE-2026-77987GitHub Enterprise Server server-side request forgery (SSRF)

GitHubPublished:

CVSS score

9.3

Critical

CVSS 4.0 from github.com

Exploit probability (EPSS)

0.88%

0.88% chance of exploitation in the next 30 days, higher than 60.0% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

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: NVD · CNA: product-cna@github.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running GitHub Enterprise Server and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Enterprise Server to 3.17.21, 3.18.15, 3.19.12, 3.20.8 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. 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

Affected products

Affected productsVersions
GitHub Enterprise Server≥ 3.17.0, < 3.17.21 · ≥ 3.18.0, < 3.18.15 · ≥ 3.19.0, < 3.19.12 · ≥ 3.20.0, < 3.20.8 · ≥ 3.21.0, < 3.21.6 · ≥ 3.22.0, < 3.22.1

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-77987 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.9% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-77987?

CVE-2026-77987 has a CVSS 4.0 base score of 9.3 (critical).

Which versions are affected?

GitHub Enterprise Server (≥ 3.17.0, < 3.17.21; ≥ 3.18.0, < 3.18.15; ≥ 3.19.0, < 3.19.12; ≥ 3.20.0, < 3.20.8; ≥ 3.21.0, < 3.21.6; ≥ 3.22.0, < 3.22.1)

Is there a patch for CVE-2026-77987?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.