A server-side request forgery (SSRF) vulnerability was identified in the notebook viewer of GitHub Enterprise Server. (CVE-2026-77987)
A critical server-side request forgery (SSRF) vulnerability exists in the notebook viewer of GitHub Enterprise Server versions 3.17 through 3.22. The vulnerability allows an attacker to bypass port validation on user-supplied URLs, enabling requests to internal services on different ports. Although response bodies are not returned, timing differences can be exploited to extract instance secrets character by character. These secrets can then be used to achieve remote code execution on the appliance. Exploitation requires network access and is unauthenticated if private mode is disabled; otherwise, any authenticated user can exploit it when private mode is enabled. The issue was fixed in versions 3.22.1, 3.21.6, 3.20.8, 3.19.12, 3.18.15, and 3.17.21.
AI Analysis
Technical Summary
The notebook viewer component in GitHub Enterprise Server improperly validated user-supplied URLs by checking only the scheme and host but not the port. This allowed SSRF attacks targeting internal services on different ports of the same appliance. Although response bodies were not returned, timing differences allowed attackers to extract instance secrets character by character. These secrets could then be leveraged to interact with internal services to gain remote code execution on the appliance. The vulnerability affects versions 3.17 through 3.22 and was reported via the GitHub Bug Bounty program. It requires network access to the instance and varies in authentication requirements depending on private mode settings.
Potential Impact
Successful exploitation can lead to disclosure of sensitive instance secrets and remote code execution on the GitHub Enterprise Server appliance. This compromises confidentiality, integrity, and availability of the affected system. The vulnerability is critical with a CVSS score of 9.8, indicating high impact and ease of exploitation under the stated conditions.
Mitigation Recommendations
Fixes are available in GitHub Enterprise Server versions 3.22.1, 3.21.6, 3.20.8, 3.19.12, 3.18.15, and 3.17.21. Users should upgrade to one of these patched versions to remediate the vulnerability. Since this is not a cloud service, remediation depends on applying these official updates.
A server-side request forgery (SSRF) vulnerability was identified in the notebook viewer of GitHub Enterprise Server. (CVE-2026-77987)
Description
A critical server-side request forgery (SSRF) vulnerability exists in the notebook viewer of GitHub Enterprise Server versions 3.17 through 3.22. The vulnerability allows an attacker to bypass port validation on user-supplied URLs, enabling requests to internal services on different ports. Although response bodies are not returned, timing differences can be exploited to extract instance secrets character by character. These secrets can then be used to achieve remote code execution on the appliance. Exploitation requires network access and is unauthenticated if private mode is disabled; otherwise, any authenticated user can exploit it when private mode is enabled. The issue was fixed in versions 3.22.1, 3.21.6, 3.20.8, 3.19.12, 3.18.15, and 3.17.21.
CVSS v3.1
Score 9.8critical
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The notebook viewer component in GitHub Enterprise Server improperly validated user-supplied URLs by checking only the scheme and host but not the port. This allowed SSRF attacks targeting internal services on different ports of the same appliance. Although response bodies were not returned, timing differences allowed attackers to extract instance secrets character by character. These secrets could then be leveraged to interact with internal services to gain remote code execution on the appliance. The vulnerability affects versions 3.17 through 3.22 and was reported via the GitHub Bug Bounty program. It requires network access to the instance and varies in authentication requirements depending on private mode settings.
Potential Impact
Successful exploitation can lead to disclosure of sensitive instance secrets and remote code execution on the GitHub Enterprise Server appliance. This compromises confidentiality, integrity, and availability of the affected system. The vulnerability is critical with a CVSS score of 9.8, indicating high impact and ease of exploitation under the stated conditions.
Mitigation Recommendations
Fixes are available in GitHub Enterprise Server versions 3.22.1, 3.21.6, 3.20.8, 3.19.12, 3.18.15, and 3.17.21. Users should upgrade to one of these patched versions to remediate the vulnerability. Since this is not a cloud service, remediation depends on applying these official updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-5p5v-w43x-q8v7
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-77987"]
- Database Specific Severity
- CRITICAL
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ac139c3a43b0b3b89d69d68
Added to database: 10/03/2026, 17:22:11 UTC
Last enriched: 10/03/2026, 17:44:17 UTC
Last updated: 10/03/2026, 20:41:34 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.