CVE-2026-19444
CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:N
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 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
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Kubernetes | Kubernetes | v1.36.0 <= v1.36.4 | affected |
| Kubernetes | Kubernetes | v1.35.0 <= v1.35.8 | affected |
| Kubernetes | Kubernetes | v1.34.0 <= v1.34.11 | affected |
| Kubernetes | Kubernetes | v1.0 <= v1.33.13 | unknown |
Weaknesses
- CWE-22: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
ADP Enrichment
CVE Program Container
Additional References
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
References
- https://github.com/kubernetes/kubernetes/issues/141294
- https://github.com/kubernetes/kubernetes/pull/141296
- https://groups.google.com/g/kubernetes-security-announce/c/v_ob5Gf4-eY
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.