Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain repository write access
-
DeliverySend burst of concurrent upload requests
-
ExploitWin TOCTOU race in upload handler
-
ExecutionBypass file security check
-
ImpactExecute arbitrary code on Enterprise Server
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
|
| Exploitation Conditions | Exploitation requires an authenticated GitHub Enterprise Server account with write access to at least one repository on the target instance. The attacker must be capable of issuing concurrent HTTP upload requests with precise timing to win the race window - this is not a single-shot exploit and probabilistic success implies repeated attempts. External collaborators granted write access are within the exploitable population; read-only users and unauthenticated actors cannot trigger this vulnerability. No specific non-default server configuration, operating system, or repository state is required beyond the attacker's possession of write permissions. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N, score 7.7) presents a nuanced picture: network accessibility and no required victim interaction are offset by AT:P (precise timing prerequisites) and PR:L (repository write access required). The race condition is inherently unreliable and may require sustained attempt bursts, producing audit log noise that can aid detection. No public exploit code exists and the vulnerability is absent from the CISA KEV catalog, indicating no confirmed widespread exploitation at time of analysis. The overall realistic risk is moderate-to-high for organizations running unpatched instances with external or untrusted contributors, but substantially lower than a PR:N/AC:L flaw of equivalent CVSS impact. Because patches have been released across all active supported branches, the residual exposure is limited to organizations delayed in applying updates. |
| Exploit ScenarioDerived | An authenticated attacker with repository write access sends a burst of concurrent file upload requests timed to win the TOCTOU race in the upload handler. By interleaving the check and use phases of the file operation, the attacker causes the server to act on a maliciously crafted payload that passed an earlier security check, yielding server-side code execution under the Enterprise Server process's privileges. No public proof-of-concept exists, so reliable exploitation likely requires iterative timing calibration against the target instance. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 01, 2026
Remote code execution via a time-of-check time-of-use race condition in GitHub Enterprise Server affects all versions prior to 3.22. An authenticated user holding repository write access can trigger the vulnerability by issuing precisely timed concurrent upload requests, exploiting the window between a security check and the file operation it guards. No public exploit code or CISA KEV listing has been identified; the issue was responsibly disclosed through GitHub's Bug Bounty program and patched across five active release branches.
RemediationAI
Apply the vendor-released patches immediately. Fixed versions are 3.17.20 (https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.20), 3.18.14 (https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.14), 3.19.11 (https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.11), 3.20.7 (https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.7), 3.21.5 (https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.5), and 3.22.0. Prior to patching, administrators can limit exposure by restricting repository write access strictly to fully trusted internal users, revoking external collaborator write permissions, and enabling audit log alerting for high-frequency concurrent upload activity from a single account. These controls narrow the attacker pool but do not eliminate the vulnerability if an insider threat is present.
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-367 (Time-of-check Time-of-use) describes a class of race conditions where a security decision is made on a resource's state, but an attacker can alter that state before the guarded operation executes. In this case, GitHub Enterprise Server's file upload handling contains such a window when processing concurrent requests. The affected software is identified by CPE cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* covering all versions prior to 3.22.0. GitHub Enterprise Server is the self-hosted deployment of the GitHub platform used by organizations requiring on-premises or private-cloud source control. The CVSS 4.0 AT:P metric (Attack Requirements: Presence) corroborates the description's note about 'precise timing,' indicating the race is non-trivial to win reliably and may require repeated attempts.
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
Race condition requires precise concurrent request timing (AC:H); repository write access mandatory (PR:L); RCE delivers full CIA impact on the vulnerable system.
Primary rating from Vendor (GitHub_P).
CVSS VectorVendor: GitHub_P
DescriptionCVE.org
A time-of-check time-of-use race condition vulnerability was identified in GitHub Enterprise Server that allowed remote code execution. Exploitation required an authenticated user with write access to a repository and precise timing of concurrent upload requests. 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, 3.21.5, and 3.22.0. This vulnerability was reported via the GitHub Bug Bounty program.
Executive ViewAI
GitHub Enterprise Server versions prior to 3.22 are vulnerable to remote code execution through a time-of-check time-of-use race condition exploitable by authenticated users with repository write access. This poses a supply-chain compromise risk, as trusted developers could execute arbitrary code through precisely timed concurrent uploads, potentially compromising organizational code integrity and infrastructure.
No vendor-released patch identified at time of analysis. Restrict repository write access to minimum necessary personnel and require mandatory code review for all uploads; implement upload request rate limiting and concurrent-access monitoring; enable comprehensive audit logging of upload operations; segregate or airgap critical repositories until patching becomes available.
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
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-69715
GHSA-4fq5-hf84-xr75
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB