CVE-2026-15343Path traversal vulnerability in GitHub Enterprise Server allowed writing files to…
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by GitHub_P, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- GitHub Enterprise Server: affected: 3.17.0 to before 3.17.*, 3.18.0 to before 3.18.*, 3.19.0 to before 3.19.*, 3.20.0 to before 3.20.*, 3.21.0 to before 3.21.*, 3.22.0 to before 3.22.*; fixed in
3.19.14,3.20.10,3.21.8,3.22.3
Solution: Upgrade to GitHub Enterprise Server 3.19.14, 3.20.10, 3.21.8, or 3.22.3, or a later patch release of the applicable release line. The previously announced fixes in 3.17.18, 3.18.12, 3.19.9, 3.20.5, and 3.21.3 were incomplete and do not fully remediate this vulnerability. No complete fix is available for the 3.17 or 3.18 release lines; users of those lines must upgrade to a release containing the complete fix.
Vendor advisories:
- https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.18 (release-notes)
- https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.12 (release-notes)
- https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.9 (release-notes)
- https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.5 (release-notes)
- https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.3 (release-notes)
- https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.14 (patch, release-notes)
References
- https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.18
- https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.12
- https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.9
- https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.5
- https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.3
- https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.14
- https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.10
- https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.8
- https://docs.github.com/en/enterprise-server@3.22/admin/release-notes#3.22.3
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.