CVE-2026-19444: Kubernetes kubectl cp path traversal on Windows allows arbitrary file writes

Published Sep 28, 2026
·
Updated

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.

Affected Software

1 affected component
Kubernetes kubectl

Event History

Sep 28, 2026
CVE Published
via MITRE·11:38 AM
Data Sourced
via MITRE·11:38 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Only users running the kubectl client on Windows are affected. Exploitation requires them to invoke kubectl cp to copy files from a container whose contents or tar binary are controlled by an attacker.

2

What access does an attacker need?

The attacker needs control over the source container's contents, including the ability to provide a malicious tar binary or malicious tar output. They also need a Windows user to run kubectl cp against that container.

3

What is the impact on the local system?

A malicious container can cause files to be written to arbitrary paths on the Windows machine running kubectl cp. The writes are constrained by the permissions of the local user who runs kubectl.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203