CVE-2026-77987: Notebook viewer SSRF in GitHub Enterprise Server
- Vendor
- GitHub
CVE-2026-77987 is a server-side request forgery vulnerability in the GitHub Enterprise Server notebook viewer affecting versions 3.17 through 3.22 before their respective fixed releases. The viewer validates the scheme and host of user-supplied URLs but does not validate the port, allowing an attacker to direct requests to internal services on other ports of the same appliance. Although response bodies are not returned, response timing provides an oracle for extracting instance secrets character by character. An extracted secret can subsequently be used in a separate interaction with an internal service to obtain remote code execution on the appliance. Exploitation requires network access and either no authentication when private mode is disabled or any authenticated account when private mode is enabled.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An attacker can reach internal services on the GitHub Enterprise Server appliance and disclose instance secrets through a response-timing oracle, despite the absence of returned response bodies. Secret extraction can be chained with a separate internal-service interaction to achieve remote code execution on the appliance.
Mitigation
If you can’t patch tonight, do this now.
No workaround is specified. Pending patching, restrict network access to trusted users and enable private mode to prevent unauthenticated exploitation. Private mode does not prevent exploitation by authenticated users and is not a substitute for upgrading.
Remediation
Patch, then assume compromise.
Upgrade to the fixed release for the installed GitHub Enterprise Server branch: 3.17.21, 3.18.15, 3.19.12, 3.20.8, 3.21.6, or 3.22.1. The notebook viewer fix rejects URLs specifying an explicit port. Reapply any custom firewall rules after upgrading, because the upgrade process removes them.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-77987 exploited in the wild?
- As of Oct 3, 2026, Mallory has no reports of CVE-2026-77987 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-77987?
- As of Oct 3, 2026, Mallory has found no public exploit for CVE-2026-77987.
- Is there a patch for CVE-2026-77987?
- Upgrade to the fixed release for the installed GitHub Enterprise Server branch: 3.17.21, 3.18.15, 3.19.12, 3.20.8, 3.21.6, or 3.22.1. The notebook viewer fix rejects URLs specifying an explicit port.
- What products are affected by CVE-2026-77987?
- GitHub Enterprise Server.
- How severe is CVE-2026-77987?
- CVE-2026-77987 has a CVSS v4 score of 9.3 (Critical) and an EPSS score of 0.88% (60th percentile) as of Oct 3, 2026.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.