Path traversal vulnerability in GitHub Enterprise Server allowed writing files to arbitrary repository paths, including GitHub Actions workflow files, via unchecked Dependabot dependency-file paths
CVE-2026-15343Published 17 Jul 2026, 15:18 UTC
Real-world risk
4.1/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.6
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_P)
A path traversal vulnerability was identified in GitHub Enterprise Server that allowed an attacker with code execution inside a Dependabot updater container to write files to arbitrary repository paths, including GitHub Actions workflow files under .github/workflows/, because path validation did not check the actual write destination. The initial fix in versions 3.21.3, 3.20.5, 3.19.9, 3.18.12, and 3.17.18 was incomplete because validation checked the supplied symlink target, while the publisher wrote the file using its directory and name. Writing GitHub Actions workflow files required the Dependabot installation to have workflows: write permission. Depending on repository permissions and workflow configuration, including a relevant pull_request_target workflow or auto-merge, an injected workflow could execute with access to GitHub Actions secrets. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.23 and was fully fixed in versions 3.22.3, 3.21.8, 3.20.10, and 3.19.14. This vulnerability was reported via the GitHub Bug Bounty program.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| GitHub Enterprise ServerWidespread | >= 3.17.0, < 3.17.*; >= 3.18.0, < 3.18.*; >= 3.19.0, < 3.19.*; >= 3.20.0, < 3.20.*; >= 3.21.0, < 3.21.*; >= 3.22.0, < 3.22.* | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.9% chance of exploitation in 30 days (percentile 62), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.600
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 0.6 × threat 0.854.080
- Rounded to one decimal between 0.1 and 104.1
Exploitation and evidence timeline
- 17 Jul 2026 Published
- 3 Dec 2026 Risk 4.1 (cvss fallback)
Weakness
CWE-22
References
- https://docs.github.com/en/[email protected]/admin/release-notes#3.17.18release-notes, x-incomplete-fix
- https://docs.github.com/en/[email protected]/admin/release-notes#3.18.12release-notes, x-incomplete-fix
- https://docs.github.com/en/[email protected]/admin/release-notes#3.19.9patch, release-notes, x-incomplete-fix
- https://docs.github.com/en/[email protected]/admin/release-notes#3.20.5patch, release-notes, x-incomplete-fix
- https://docs.github.com/en/[email protected]/admin/release-notes#3.21.3patch, release-notes, x-incomplete-fix
- https://docs.github.com/en/[email protected]/admin/release-notes#3.22.3patch, release-notes
- CVE-2026-15343 on CVE.org