Skip to main content

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

0
Critical
Published: 09/22/2026 (09/22/2026, 21:31:31 UTC)
Source: GCVE Database

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

Affected versions
>=3.17 <=3.22

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/03/2026, 17:44:17 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses