Skip to main content

GitHub Enterprise Server EUVDEUVD-2026-45189

| CVE-2026-15343 HIGH
Path Traversal (CWE-22)
2026-07-17 GitHub_P GHSA-h327-qh69-cgch
8.6
CVSS 4.0 · Vendor: GitHub_P
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Gain code execution in Dependabot updater container
  2. Delivery
    Craft dependency dir and symlink target
  3. Exploit
    Bypass effective-path validation
  4. Install
    Write malicious .github/workflows file
  5. C2
    pull_request_target/auto-merge runs workflow
  6. Execute
    Execute with repo Actions secrets
  7. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Enterprise Server 3.18.0 ≤3.18.11
Enterprise Server 3.19.0 ≤3.19.8
Enterprise Server 3.20.0 ≤3.20.4
Enterprise Server 3.21.0 ≤3.21.2
Enterprise Server 3.17.0 ≤3.17.17

Affected Packages

euvd enterprise_server no fix

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

Vendor (GitHub_P) PRIMARY 8.6 HIGH
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
vuln.today AI 8.2 HIGH

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.

3.1 AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_P).

CVSS VectorVendor: GitHub_P

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 64% exploitable
Prevalence
High
self-hosted GitHub Enterprise Server is common in large enterprises
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in Github

View all
CVE-2026-1699 CRITICAL POC
10.0 Jan 30

Supply chain vulnerability in Eclipse Theia GitHub Actions workflow. The preview.yml workflow uses pull_request_target w

CVE-2026-27941 CRITICAL POC
9.9 Feb 26

Supply chain attack vector in OpenLIT GitHub Actions workflows. The pull_request_target trigger with checkout enables ma

CVE-2026-22869 CRITICAL POC
9.8 Jan 13

Eigent multi-agent workflow CI pipeline (ci.yml) uses pull_request_target with checkout of untrusted PR code, enabling a

CVE-2025-60021 CRITICAL POC
9.8 Jan 16

Apache bRPC versions before 1.15.0 contain a remote command injection vulnerability in the heap profiler built-in servic

CVE-2024-0200 CRITICAL POC
9.8 Jan 16

An unsafe reflection vulnerability was identified in GitHub Enterprise Server that could lead to reflection injection. R

CVE-2022-24724 CRITICAL POC
9.8 Mar 03

cmark-gfm is GitHub's extended version of the C reference implementation of CommonMark. Rated critical severity (CVSS 9.

CVE-2024-9487 CRITICAL POC
9.5 Oct 10

An improper verification of cryptographic signature vulnerability was identified in GitHub Enterprise Server that allowe

CVE-2026-28215 CRITICAL POC
9.1 Feb 26

Unauthenticated infrastructure overwrite in Hoppscotch API development ecosystem before 2026.2.0. Attackers can overwrit

CVE-2018-1000600 HIGH POC
8.8 Jun 26

A exposure of sensitive information vulnerability exists in Jenkins GitHub Plugin 1.29.1 and earlier in GitHubTokenCrede

CVE-2026-30920 HIGH POC
8.6 Mar 10

OneUptime versions prior to 10.0.19 allow unauthenticated attackers to hijack GitHub App integrations across projects by

CVE-2026-25221 HIGH POC
8.1 Feb 02

PolarLearn versions 0-PRERELEASE-15 and earlier lack proper state parameter validation in OAuth 2.0 authentication, enab

CVE-2026-23644 HIGH POC
7.5 Jan 18

Path traversal in esm.sh CDN prior to version 0.0.0-20260116051925-c62ab83c589e allows unauthenticated remote attackers

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy