Repository navigation
committee/security-responseDenotes an issue or PR intended to be handled by the product security committee.Denotes an issue or PR intended to be handled by the product security committee.
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.Indicates an issue or PR lacks a `triage/foo` label and requires one.
official-cve-feedIssues or PRs related to CVEs officially announced by Security Response Committee (SRC)Issues or PRs related to CVEs officially announced by Security Response Committee (SRC)
sig/cliCategorizes an issue or PR as relevant to SIG CLI.Categorizes an issue or PR as relevant to SIG CLI.
sig/windowsCategorizes an issue or PR as relevant to SIG Windows.Categorizes an issue or PR as relevant to SIG Windows.
Description
CVSS Rating: CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:N - Medium (6.5)
Description of vulnerability
A path traversal vulnerability exists in the kubectl cp command when it is run on Windows. kubectl cp copies files between containers and the user machine. To copy files from a container, Kubernetes runs tar inside the container to create a tar archive, copies it over the network, and kubectl unpacks it on the user's machine. If the tar binary in the container is malicious, it could run any code and output unexpected, malicious results.
An attacker who controls the contents of a container could use this to write files to arbitrary paths on the user's machine when kubectl cp is called, limited only by the system permissions of the local user. This issue only affects clients on Windows platforms.
Am I vulnerable?
You are affected if you run the kubectl client on Windows and use kubectl cp to copy files from a container whose contents you do not fully control.
To determine whether your kubectl client is an affected version, run:
kubectl version --client
Affected Versions
- kubectl v1.34.0 to v1.34.11
- kubectl v1.35.0 to v1.35.8
- kubectl v1.36.0 to v1.36.4
How do I mitigate this vulnerability?
Prior to upgrading, this vulnerability can be mitigated by only copying files from containers you trust, or by avoiding kubectl cp from untrusted containers on Windows.
Fixed Versions
- kubectl >= v1.34.12
- kubectl >= v1.35.9
- kubectl >= v1.36.5
If you find evidence that this vulnerability has been exploited, please contact security@kubernetes.io
Acknowledgements
This vulnerability was reported by Moriel Harush @MorielHarush
The issue was fixed and coordinated by:
Marly Salazar @mpuckett159
Maciej Szulik @soltysh
Vyom Yadav @Vyom-Yadav
Activity
- kubernetes-prowadded kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.committee/security-responseDenotes an issue or PR intended to be handled by the product security committee.Denotes an issue or PR intended to be handled by the product security committee.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.Indicates an issue or PR lacks a `triage/foo` label and requires one.on Aug 10, 2026
-
kubernetes-prow commentedon Aug 10, 2026 ContributorMore actions This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the
triage/acceptedlabel and provide further guidance.
Thetriage/acceptedlabel can be added by org members by writing/triage acceptedin a comment.
Details Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
-
Vyom-Yadav commentedon Sep 28, 2026 MemberAuthorMore actions /label official-cve-feed
/sig cli
/area kubectl - kubernetes-prowadded sig/cliCategorizes an issue or PR as relevant to SIG CLI.Categorizes an issue or PR as relevant to SIG CLI.official-cve-feedIssues or PRs related to CVEs officially announced by Security Response Committee (SRC)Issues or PRs related to CVEs officially announced by Security Response Committee (SRC)on Sep 28, 2026
- github-project-automationadded this to SIG CLIon Sep 28, 2026
- github-project-automationmoved this to Needs Triage in SIG CLIon Sep 28, 2026
- Vyom-Yadavchanged the title ~~[-]Placeholder SRC[/-]~~ [+]CVE-2026-19444: kubectl cp path traversal on Windows allows arbitrary file writes[/+] on Sep 28, 2026
-
Vyom-Yadav commentedon Sep 28, 2026 MemberAuthorMore actions
-
zylxjtu commentedon Sep 28, 2026 ContributorMore actions /sig windows
- kubernetes-prowadded sig/windowsCategorizes an issue or PR as relevant to SIG Windows.Categorizes an issue or PR as relevant to SIG Windows.on Sep 28, 2026
- zylxjtuadded this to [sig-windows] Issue Trackingon Sep 29, 2026
-
Vyom-Yadav commentedon Sep 30, 2026 MemberAuthorMore actions /close
-
kubernetes-prow commentedon Sep 30, 2026 ContributorMore actions @Vyom-Yadav: Closing this issue.
Details In response to this:
/close Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
14. kubernetes-prowclosed this as completedon Sep 30, 2026
15. github-project-automationmoved this to Done in [sig-windows] Issue Trackingon Sep 30, 2026
16. ### ffesgsgssvcs758 commentedon Sep 30, 2026 on Sep 30, 2026 show commentMore actions
Metadata
Metadata
Assignees
Labels
committee/security-responseDenotes an issue or PR intended to be handled by the product security committee.Denotes an issue or PR intended to be handled by the product security committee.
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.Indicates an issue or PR lacks a `triage/foo` label and requires one.
official-cve-feedIssues or PRs related to CVEs officially announced by Security Response Committee (SRC)Issues or PRs related to CVEs officially announced by Security Response Committee (SRC)
sig/cliCategorizes an issue or PR as relevant to SIG CLI.Categorizes an issue or PR as relevant to SIG CLI.
sig/windowsCategorizes an issue or PR as relevant to SIG Windows.Categorizes an issue or PR as relevant to SIG Windows.
Type
Projects
- StatusDoneShow more project fields
- StatusClosedShow more project fields