Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain repository write access
-
DeliveryIdentify repo with pre-receive hook configured
-
ExploitPush malicious hook payload
-
ExecutionHook networking sends forged internal request
-
PersistSSRF impersonates trusted internal GHES service
-
ImpactPrivileged internal endpoint executes attacker code
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Two conditions must both be satisfied. First, pre-receive hook networking must be explicitly enabled on the GHES instance - this is an administrator-controlled setting and is not the default; organizations that have never enabled it are not exposed. Second, the attacker must hold either site administrator privileges or write access to a specific repository that already has a pre-receive hook configured. The write-access path limits exploitation to trusted contributors or insiders; an attacker with no existing foothold on the instance cannot exploit this remotely. Exploitation is limited by: non-default networking configuration, requirement for a pre-existing configured pre-receive hook in the target repository, and low-privilege (not unauthenticated) access barrier. |
| Impact | The CVSS 4.0 score of 7.7 accurately reflects the realistic risk reduction imposed by AT:P (attack requirements present): pre-receive hook networking is a non-default configuration that must be explicitly enabled. PR:L acknowledges that write access to a repository with a configured pre-receive hook is sufficient - attackers do not need site administrator credentials, which expands the potential attacker pool to any trusted contributor in organizations using this feature. VC:H/VI:H/VA:H confirms full compromise potential on the GHES instance once exploitation conditions are met. No KEV listing and no public POC exist, indicating this has not been observed in widespread campaigns. The Bug Bounty origin suggests a researcher-discovered vulnerability rather than an adversary-discovered one. Real-world priority is HIGH for organizations with pre-receive hook networking enabled, and LOW to NEGLIGIBLE for those without it. CVSS vector-to-description alignment is consistent; no conflicts detected. |
| Exploit ScenarioDerived | An attacker with write access to a repository that already has a pre-receive hook configured (or a site admin deploying their own hook) pushes a code change containing malicious hook logic that crafts a forged HTTP request targeting a privileged internal GHES service. Because hook networking is enabled and network isolation is insufficient, the SSRF request is accepted by the internal service as a trusted internal caller, triggering elevated code execution on the GHES instance. No public exploit code exists, but the attack chain is straightforward once access conditions are met. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 01, 2026
GitHub Enterprise Server SSRF chain delivers remote code execution by allowing malicious pre-receive hook code to impersonate trusted internal GHES services and redirect requests to privileged internal endpoints. All GHES versions prior to 3.22 are affected; GitHub has released patches across five supported branches (3.17.20, 3.18.14, 3.19.11, 3.20.7, and 3.21.5). No public exploit code or CISA KEV listing exists at time of analysis, and exploitation requires both a non-default networking configuration and at minimum write-level repository access, materially limiting realistic attacker population.
RemediationAI
Vendor-released patches are available: upgrade GHES to 3.17.20, 3.18.14, 3.19.11, 3.20.7, or 3.21.5 depending on the installed branch, referencing the respective release notes linked above. For organizations unable to patch immediately, the primary compensating control is to disable pre-receive hook networking - this eliminates the exploitation path entirely, as the SSRF requires outbound hook network access to reach internal services. The trade-off is that any pre-receive hooks relying on external network calls will stop functioning. Restricting which repositories are permitted to configure pre-receive hooks (limiting to trusted administrators only, rather than repository owners with write access) reduces the attacker surface by raising the effective privilege requirement. Site administrators should audit which repositories currently have pre-receive hooks configured and whether hook networking is enabled in their instance settings.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-918 (Server-Side Request Forgery) describes the root cause: the GHES pre-receive hook subsystem, when hook networking is enabled, permits outbound HTTP requests from hook execution environments without sufficient network isolation from internal GHES services. This allows hook code to forge requests that appear to originate from a trusted internal identity, bypassing access controls on privileged internal endpoints. The affected product is confirmed via CPE cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*, covering the self-hosted GitHub platform. The SSRF is not merely an SSRF-to-read-internal-data pattern; it achieves elevated code execution by reaching a privileged service that accepts and acts on the forged request, making this a chained SSRF-to-RCE.
Know when Github gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
AC:H reflects the non-default pre-receive hook networking prerequisite; S:C because the SSRF pivots from the hook execution context into a privileged internal service outside its security scope.
Primary rating from Vendor (GitHub_P).
CVSS VectorVendor: GitHub_P
DescriptionCVE.org
A Server-Side Request Forgery (SSRF) vulnerability was identified in GitHub Enterprise Server that allowed remote code execution on the instance. Insufficient network isolation allowed malicious pre-receive hook code to impersonate an internal service and redirect trusted internal requests to a privileged service, leading to elevated code execution. Exploitation required pre-receive hook networking to be enabled and either site administrator privileges or write access to a repository containing a configured pre-receive hook. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.22 and was fixed in versions 3.17.20, 3.18.14, 3.19.11, 3.20.7, and 3.21.5. This vulnerability was reported via the GitHub Bug Bounty program.
Executive ViewAI
GitHub Enterprise Server contains a remote code execution vulnerability in pre-receive hooks affecting all versions prior to 3.22, but requires both non-standard networking and repository write access to exploit, significantly limiting real-world risk. Patches are available for all five supported branches (3.17.20, 3.18.14, 3.19.11, 3.20.7, and 3.21.5). Organizations should prioritize immediate upgrades to prevent insider-threat escalation and protect critical source-code infrastructure.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Supply chain vulnerability in Eclipse Theia GitHub Actions workflow. The preview.yml workflow uses pull_request_target w
Supply chain attack vector in OpenLIT GitHub Actions workflows. The pull_request_target trigger with checkout enables ma
Eigent multi-agent workflow CI pipeline (ci.yml) uses pull_request_target with checkout of untrusted PR code, enabling a
Apache bRPC versions before 1.15.0 contain a remote command injection vulnerability in the heap profiler built-in servic
An unsafe reflection vulnerability was identified in GitHub Enterprise Server that could lead to reflection injection. R
cmark-gfm is GitHub's extended version of the C reference implementation of CommonMark. Rated critical severity (CVSS 9.
An improper verification of cryptographic signature vulnerability was identified in GitHub Enterprise Server that allowe
Unauthenticated infrastructure overwrite in Hoppscotch API development ecosystem before 2026.2.0. Attackers can overwrit
A exposure of sensitive information vulnerability exists in Jenkins GitHub Plugin 1.29.1 and earlier in GitHubTokenCrede
OneUptime versions prior to 10.0.19 allow unauthenticated attackers to hijack GitHub App integrations across projects by
PolarLearn versions 0-PRERELEASE-15 and earlier lack proper state parameter validation in OAuth 2.0 authentication, enab
Path traversal in esm.sh CDN prior to version 0.0.0-20260116051925-c62ab83c589e allows unauthenticated remote attackers
EUVD-2026-69716
GHSA-hp6r-mrh8-47vq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB