---
id: CVE-2026-15343
title: >-
  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 …
summary: >-
  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 …
severity: high
cvss: 8.6
cvssVector: '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'
cwe:
  - CWE-22
vendor: GitHub
product: Enterprise Server
affected:
  - enterprise_server >= 3.17.0 < 3.17.*
  - enterprise_server >= 3.18.0 < 3.18.*
  - enterprise_server >= 3.19.0 < 3.19.*
  - enterprise_server >= 3.20.0 < 3.20.*
  - enterprise_server >= 3.21.0 < 3.21.*
  - enterprise_server >= 3.22.0 < 3.22.*
published: '2026-07-17'
updated: '2026-11-03'
sourceUpdated: '2026-11-03T23:17:38.267'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-15343'
references:
  - url: >-
      https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.18
    label: product-cna@github.com
  - url: >-
      https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.12
    label: product-cna@github.com
  - url: >-
      https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.14
    label: product-cna@github.com
  - url: >-
      https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.9
    label: product-cna@github.com
  - url: >-
      https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.10
    label: product-cna@github.com
  - url: >-
      https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.5
    label: product-cna@github.com
  - url: >-
      https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.3
    label: product-cna@github.com
  - url: >-
      https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.8
    label: product-cna@github.com
  - url: >-
      https://docs.github.com/en/enterprise-server@3.22/admin/release-notes#3.22.3
    label: product-cna@github.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-07-17T16:31:35.938532Z'
cvssSource: cna
epss: 0.01195
epssPercentile: 0.68192
ingestedAt: '2026-11-05T06:38:03.622Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
