CVE-2026-15343

Summary

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.

Affected Software

VendorProductVersion RangeStatus
GitHubEnterprise Server3.17.0 <= 3.17.17affected
GitHubEnterprise Server3.18.0 <= 3.18.11affected
GitHubEnterprise Server3.19.0 <= 3.19.8affected
GitHubEnterprise Server3.20.0 <= 3.20.4affected
GitHubEnterprise Server3.21.0 <= 3.21.2affected

Weaknesses

  • CWE-22: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: total

References