CVE-2026-96890: 
GitHub Enterprise Server vulnerability analysis and mitigation

Overview

CVE-2026-96890 is a Server-Side Request Forgery (SSRF) vulnerability in GitHub Enterprise Server (GHES) that allows an authenticated repository contributor to cause the appliance to issue HTTP requests to attacker-controlled internal hosts, which can be chained to achieve remote code execution (RCE) on the appliance. The flaw exists in the secret scanning validator for GCP service account credentials, which blindly trusted the token endpoint URL embedded in a committed credential without restricting the destination. Affected versions include GHES 3.20.0–3.20.8, 3.21.0–3.21.6, and 3.22.0–3.22.1; exploitation requires GitHub Advanced Security and secret scanning validity checks to be enabled, a non-default configuration. The vulnerability was disclosed on October 6, 2026, and carries a CVSS v3.1 base score of 8.8 (High) and a CVSS v4.0 base score of 8.7 (High) (Github Advisory, GHES 3.22 Release Notes).

Technical details

The root cause is classified as CWE-918 (Server-Side Request Forgery), where the GHES secret scanning subsystem responsible for validating GCP service account credentials extracted and blindly followed the token_endpoint field embedded within a committed credential file without adequately validating or restricting the destination URL (Github Advisory). An attacker with push access to any repository on a vulnerable instance can craft a fake GCP service account credential JSON file containing a token_endpoint pointing to an internal network address (e.g., internal metadata services, management APIs, or other co-located services), then push it to the repository to trigger the secret scanning validity check (GHES 3.20 Release Notes). The SSRF can be chained with access to internal services to escalate to full remote code execution on the appliance. Exploitation requires: (1) an authenticated account with repository push access, (2) GitHub Advanced Security enabled on the instance, and (3) secret scanning validity checks enabled — all of which represent a non-default configuration.

Impact

Successful exploitation allows an attacker to pivot from an SSRF to full remote code execution on the GitHub Enterprise Server appliance, resulting in complete compromise of confidentiality, integrity, and availability of the system (Github Advisory). An attacker could access internal services co-located on the appliance, exfiltrate sensitive data including repository contents, secrets, and credentials stored on the instance, and potentially use the compromised appliance as a pivot point for lateral movement within the enterprise network. The scope of impact is limited to the vulnerable GHES appliance itself (subsequent system impact metrics are rated None in CVSS v4.0), but given that GHES typically hosts sensitive source code and CI/CD pipelines, the business impact can be severe (GHES 3.21 Release Notes).

Exploitability

There is no public proof-of-concept exploit code available, and no evidence of in-the-wild exploitation has been reported as of the time of disclosure (Github Advisory). The vulnerability was reported through the GitHub Bug Bounty program and is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.41–0.48%, placing it around the 40th percentile for exploitation probability within 30 days. Exploitation is not automatable (per NVD SSVC assessment) as it requires an authenticated user with specific repository push permissions on an instance with non-default security features enabled, limiting the attacker pool.

Exploitation steps

  1. Identify a target instance: Locate a GitHub Enterprise Server instance (versions 3.20.0–3.20.8, 3.21.0–3.21.6, or 3.22.0–3.22.1) with GitHub Advanced Security and secret scanning validity checks enabled. This may be discoverable via internal network enumeration or by reviewing the instance's public-facing configuration.
  2. Obtain repository push access: Authenticate to the GHES instance using a valid account that has push access to at least one repository. This could be a legitimate contributor account, a compromised credential, or a newly created account with granted access.
  3. Craft a malicious GCP service account credential: Create a JSON file mimicking a GCP service account credential, but with the token_endpoint field set to an attacker-controlled internal URL (e.g., http://169.254.169.254/latest/meta-data/ for cloud metadata, or an internal management API endpoint such as http://localhost:8080/admin).
  4. Commit and push the credential to the repository: Push the crafted credential file to the repository. This triggers the GHES secret scanning subsystem to detect the apparent GCP credential and initiate a validity check.
  5. SSRF triggered: The secret scanning validator reads the token_endpoint from the credential and issues an HTTP request to the attacker-specified internal address without validating the destination, completing the SSRF.
  6. Chain to RCE: Leverage the SSRF to interact with internal services (e.g., extract instance secrets, access internal APIs, or reach privileged management endpoints) and use the obtained information or access to achieve remote code execution on the appliance (GHES 3.20 Release Notes, Github Advisory).

Indicators of compromise

  • Network: Unexpected outbound HTTP/HTTPS requests from the GHES appliance to internal IP ranges (RFC 1918 addresses such as 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) or cloud metadata endpoints (e.g., 169.254.169.254) originating from the secret scanning service process.
  • Network: Outbound connections to unusual internal ports (e.g., management APIs, internal databases) from the GHES host that are not part of normal operational traffic patterns.
  • Logs: GHES secret scanning logs showing validity check requests to non-GCP token endpoints or internal/private IP addresses; look for entries referencing GCP credential validation with unexpected destination URLs.
  • Logs: Audit log entries showing a user pushing files containing GCP service account credential patterns (e.g., "type": "service_account") to repositories, particularly from accounts not normally associated with GCP workloads.
  • File System: Presence of JSON files in repository commits containing "token_endpoint" fields pointing to internal or non-standard URLs rather than legitimate Google OAuth endpoints (e.g., https://oauth2.googleapis.com/token).
  • Process: Unusual child processes or network connections spawned by the GHES secret scanning service, particularly those communicating with internal infrastructure not normally accessed by that service.

Mitigation and workarounds

GitHub has released patched versions addressing this vulnerability: 3.20.9, 3.21.7, and 3.22.2, all released on October 6, 2026. Administrators should upgrade to the appropriate patched version for their release series as the primary remediation (GHES 3.20 Release Notes, GHES 3.21 Release Notes, GHES 3.22 Release Notes). If immediate patching is not possible, a temporary workaround is to disable GitHub Advanced Security secret scanning validity checks on affected instances, which removes the attack surface by preventing the vulnerable code path from being triggered. Organizations should also audit repository push access permissions and restrict them to trusted users on instances where Advanced Security features are enabled.

Community reactions

The vulnerability was reported through the GitHub Bug Bounty program and disclosed alongside the October 6, 2026 patch releases, with GitHub providing clear security advisories in the release notes for all three affected version branches (GHES 3.22 Release Notes). No significant independent researcher commentary, threat actor attribution, or notable media coverage beyond standard CVE tracking and aggregator sites has been identified at this time.

Additional resources


Source: This report was generated using AI

Related GitHub Enterprise Server vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-77987CRITICAL9.3
  • GitHub Enterprise Server logoGitHub Enterprise Server
  • cpe:2.3:a:github:enterprise_server
NoYesSep 22, 2026
CVE-2026-96890HIGH8.7
  • GitHub Enterprise Server logoGitHub Enterprise Server
  • cpe:2.3:a:github:enterprise_server
NoYesOct 06, 2026
CVE-2026-77912HIGH7.4
  • GitHub Enterprise Server logoGitHub Enterprise Server
  • cpe:2.3:a:github:enterprise_server
NoYesSep 22, 2026
CVE-2026-103620MEDIUM6
  • GitHub Enterprise Server logoGitHub Enterprise Server
  • cpe:2.3:a:github:enterprise_server
NoYesOct 06, 2026
CVE-2026-75101MEDIUM6
  • GitHub Enterprise Server logoGitHub Enterprise Server
  • cpe:2.3:a:github:enterprise_server
NoYesSep 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management