CVE-2026-15343
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
- State
- Published
- Severity
- 8.6 High
- Published
- Jul 17, 2026
- Updated
- Jul 17, 2026
- Reserved
- Jul 9, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 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 | GitHub_P |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Products
| Product | Versions |
|---|---|
Enterprise ServerGitHub |
|
References
- https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.18release-notes
- https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.12release-notes
- https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.9release-notes
- https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.5release-notes
- https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.3release-notes
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.