---
id: CVE-2026-19444
title: "A path traversal vulnerability was discovered in the Kubernetes\_kubectl\_client's\_kubectl cp\_command on Windows"
summary: "A path traversal vulnerability was discovered in the Kubernetes\_kubectl\_client's\_kubectl cp\_command on Windows. When copying files from a container,\_kubectl\_runs tar inside the container to build a tar archive, transfers it over the netw…"
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:N'
cwe:
  - CWE-22
vendor: Kubernetes
product: Kubernetes
affected:
  - Kubernetes >= v1.36.0 <= v1.36.4
  - Kubernetes >= v1.35.0 <= v1.35.8
  - Kubernetes >= v1.34.0 <= v1.34.11
published: '2026-09-28'
updated: '2026-09-28'
sourceUpdated: '2026-09-28T12:17:36.723'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-19444'
references:
  - url: 'https://github.com/kubernetes/kubernetes/issues/141294'
    label: jordan@liggitt.net
  - url: 'https://github.com/kubernetes/kubernetes/pull/141296'
    label: jordan@liggitt.net
  - url: 'https://groups.google.com/g/kubernetes-security-announce/c/v_ob5Gf4-eY'
    label: jordan@liggitt.net
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-28T13:09:42.225Z'
---

## Overview

A path traversal vulnerability was discovered in the Kubernetes kubectl client's kubectl cp command on Windows. When copying files from a container, kubectl runs tar inside the container to build a tar archive, transfers it over the network, and unpacks it on the local machine. If the tar binary in the container is malicious, it can execute arbitrary code and emit unexpected output, allowing an attacker who controls container contents to write files to arbitrary paths on the user's local machine when kubectl cp is invoked, limited only by the system permissions of the local user. This issue only affects kubectl clients running on Windows.

## Remediation

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