Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconGain code execution in Dependabot updater container
-
DeliveryCraft dependency dir and symlink target
-
ExploitBypass effective-path validation
-
InstallWrite malicious .github/workflows file
-
C2pull_request_target/auto-merge runs workflow
-
ExecuteExecute with repo Actions secrets
-
ImpactExfiltrate secrets
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the attacker already achieve code execution inside the Dependabot updater container, and that they control both a dependency file's directory path and a symlink target used during the update write-back. Full impact - execution with repository Actions secrets - additionally requires the target repository to be configured with a pull_request_target workflow OR to have auto-merge enabled; without one of those, the primitive is limited to arbitrary file write. Limiting factors: this is confined to GitHub Enterprise Server instances prior to the fixed versions that run Dependabot, the container-code-execution precondition is non-trivial, and the secrets-theft outcome depends on non-default repository automation settings. |
| Impact | The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H) scores 8.6 and models high confidentiality and integrity impact from a network-reachable, low-privilege position with no user interaction. The practical risk is materially gated by two prerequisites the vector does not fully surface: the attacker must first obtain code execution inside the Dependabot updater container, and full secret exposure requires the target repository to use pull_request_target or auto-merge. This makes it a real but conditional threat rather than a spray-and-pray internet exploit. No EPSS score, POC, or KEV entry is present in the provided data, so there is no evidence of active or automatable mass exploitation; treat it as a high-value target for a determined attacker in environments that both run Dependabot and use the risky workflow triggers. Note the tension between the vector's AC:L and the description's multi-step preconditions - the realistic attack complexity is higher than AC:L implies. |
| Exploit ScenarioDerived | An attacker gains code execution inside the Dependabot updater container (for example by poisoning a dependency-resolution step) targeting a repository that has auto-merge or pull_request_target enabled. Using a crafted dependency-file directory and a symlink whose target escapes path validation, they write a malicious workflow to .github/workflows/. When the workflow triggers, it runs with the repository's Actions secrets, which the attacker exfiltrates. No public exploit code is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 17, 2026
Arbitrary file write in GitHub Enterprise Server (all releases before 3.22) lets an attacker who already has code execution inside the Dependabot updater container escape the intended dependency-file directory via path traversal and symlink manipulation, planting attacker-controlled files anywhere in a repository - including GitHub Actions workflows under .github/workflows/. Because path validation checked the declared rather than the effective (symlink-resolved) path, an injected workflow can run with the repository's Actions secrets when the repo uses pull_request_target or auto-merge. There is no public exploit identified at time of analysis and it is not listed in CISA KEV; CVSS 4.0 base score is 8.6 (High).
RemediationAI
Vendor-released patch: upgrade GitHub Enterprise Server to the fixed release on your maintenance track - 3.21.3, 3.20.5, 3.19.9, 3.18.12, or 3.17.18 (versions 3.22 and later are unaffected). Follow the corresponding admin release notes linked above for upgrade procedures. Where immediate patching is not possible, reduce exposure by limiting the blast radius of the secret-access path: disable auto-merge and avoid pull_request_target triggers on repositories that process untrusted dependency updates (trade-off: loss of automation and of the specific PR context those triggers provide), and consider scoping or removing Actions secrets from repositories that run Dependabot on untrusted input so a planted workflow has nothing valuable to steal. These are compensating controls only; upgrading to a fixed version is the definitive fix.
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
The flaw is a CWE-22 path traversal in the Dependabot dependency-update pipeline of GitHub Enterprise Server (cpe:2.3:a:github:enterprise_server). Dependabot runs updaters inside a container that parses a repository's dependency manifests and writes updated files back into the repo. The updater derived write destinations from attacker-influenceable inputs - the dependency file's directory and a symlink target - and validated the nominal path without resolving symlinks, so the effective on-disk path could point outside the intended location. Writing into .github/workflows/ turns a file-write primitive into code execution, because GitHub Actions automatically loads workflow definitions, and pull_request_target / auto-merge run those workflows in a privileged context with access to repository secrets.
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:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Multi-step prerequisites (container code execution, symlink setup, specific repo config) justify AC:H; PR:L for an authenticated updater context; S:C as the file write escalates into secret-bearing workflow execution.
Primary rating from Vendor (GitHub_P).
CVSS VectorVendor: GitHub_P
DescriptionCVE.org
A path traversal vulnerability was identified in GitHub Enterprise Server that allowed an attacker who had code execution inside the Dependabot updater container to write files to arbitrary repository paths, including GitHub Actions workflow files under .github/workflows/ as the path validation did not check the effective path which the attacker could control through the dependency file's directory and symlink target. If the repository used a pull_request_target workflow or had auto-merge enabled, an injected workflow could execute with access to the repository's GitHub Actions secrets. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.22 and was fixed in versions 3.21.3, 3.20.5, 3.19.9, 3.18.12, 3.17.18.
Executive ViewAI
GitHub Enterprise Server versions before 3.22 contain an arbitrary file write vulnerability in the Dependabot updater component that enables attackers with container-level access to inject malicious GitHub Actions workflows directly into repositories. This exposure creates risk of unauthorized access to repository secrets, code execution within CI/CD pipelines, and potential lateral movement to dependent projects. Organizations running affected GHES versions should treat this as a critical infrastructure risk requiring immediate mitigation.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) disable Dependabot dependency updates if not operationally essential; (2) disable repository auto-merge settings; (3) restrict pull_request_target workflow access to administrators; (4) require human approval for all pull requests modifying workflows; (5) rotate GitHub Actions secrets immediately; (6) monitor Dependabot container execution for suspicious activity; (7) restrict repository access to principle of least privilege; (8) implement network segmentation between GHES infrastructure and external systems.
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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
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-45189
GHSA-h327-qh69-cgch
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB