Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2026-77987

critical

A server-side request forgery (SSRF) vulnerability was identified in the notebook viewer of GitHub Enterprise Server.

Vendor / product: Github — enterprise server

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.

CVSS
9.8
9.8 (CVSS v3.1)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2026-09-22 21:17
Modified: 2026-10-02 18:37
NVD status: Analyzed
Last synced 2 days ago
Verified against the source API 2026-10-27 07:07 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

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 classification (CWE)

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Vendor advisory: https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.21
Vendor advisory: https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.15
Vendor advisory: https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.12
Vendor advisory: https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.8
Vendor advisory: https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.6
Vendor advisory: https://docs.github.com/en/enterprise-server@3.22/admin/release-notes#3.22.1

References

Data sources

NVD CVE API 2.0 — fetched 2026-10-27 07:07 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs