CVE-2026-15343: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitHub Enterprise Server
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.
AI Analysis
Technical Summary
CVE-2026-15343 is a path traversal vulnerability (CWE-22) in GitHub Enterprise Server that allowed an attacker with code execution inside the Dependabot updater container to write files to arbitrary paths within a repository. The vulnerability arose because path validation did not properly check the effective path, which could be manipulated via the dependency file's directory and symlink target. This enabled attackers to inject GitHub Actions workflow files under .github/workflows/. If the repository used pull_request_target workflows or had auto-merge enabled, the injected workflows could execute with access to the repository's GitHub Actions secrets. The issue affected all versions prior to 3.22 and was fixed in specific patch releases 3.21.3, 3.20.5, 3.19.9, 3.18.12, and 3.17.18.
Potential Impact
An attacker with code execution inside the Dependabot updater container could write arbitrary files to repository paths, including workflow files that could execute with repository secrets. This could lead to unauthorized access to sensitive information and potentially further compromise of the repository environment. The vulnerability is rated high severity with a CVSS 4.0 score of 8.6, indicating significant impact if exploited.
Mitigation Recommendations
Fixed versions are available: 3.21.3, 3.20.5, 3.19.9, 3.18.12, and 3.17.18. Users should upgrade to one of these versions or later to remediate the vulnerability. Since this is not a cloud service, remediation requires applying the official patches. Patch status is confirmed by the vendor advisory embedded in the description. No additional mitigations are specified.
CVE-2026-15343: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitHub Enterprise Server
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.
CVSS v4.0
Score 8.6high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-15343 is a path traversal vulnerability (CWE-22) in GitHub Enterprise Server that allowed an attacker with code execution inside the Dependabot updater container to write files to arbitrary paths within a repository. The vulnerability arose because path validation did not properly check the effective path, which could be manipulated via the dependency file's directory and symlink target. This enabled attackers to inject GitHub Actions workflow files under .github/workflows/. If the repository used pull_request_target workflows or had auto-merge enabled, the injected workflows could execute with access to the repository's GitHub Actions secrets. The issue affected all versions prior to 3.22 and was fixed in specific patch releases 3.21.3, 3.20.5, 3.19.9, 3.18.12, and 3.17.18.
Potential Impact
An attacker with code execution inside the Dependabot updater container could write arbitrary files to repository paths, including workflow files that could execute with repository secrets. This could lead to unauthorized access to sensitive information and potentially further compromise of the repository environment. The vulnerability is rated high severity with a CVSS 4.0 score of 8.6, indicating significant impact if exploited.
Mitigation Recommendations
Fixed versions are available: 3.21.3, 3.20.5, 3.19.9, 3.18.12, and 3.17.18. Users should upgrade to one of these versions or later to remediate the vulnerability. Since this is not a cloud service, remediation requires applying the official patches. Patch status is confirmed by the vendor advisory embedded in the description. No additional mitigations are specified.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_P
- Date Reserved
- 2026-07-09T20:11:46.081Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5b5ebc2d1edb114c7fb819
Added to database: 07/18/2026, 11:08:44 UTC
Last enriched: 07/18/2026, 12:03:18 UTC
Last updated: 08/29/2026, 22:52:09 UTC
Views: 90
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.