Kubernetes kubectl cp path traversal on Windows allows arbitrary file writes (Kubernetes Kubernetes)

CVE-2026-19444
MEDIUM 6.5

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 13 ()
State
PUBLISHED
Published
Updated
Assigner
kubernetes
Affected products
Kubernetes · Kubernetes
NVD status
Awaiting Analysis

Description

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.

Weaknesses (CWE)

  • CWE-22 — Improper Limitation of a Pathname to a Restricted Directory

Credits

  • Moriel Harush reporter
  • Vyom Yadav analyst
  • Maciej Szulik remediation reviewer
  • Marly Salazar remediation developer

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 6.5CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:Nkubernetes
CVSS 3.1MEDIUM 6.5CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:C/C:L/I:H/A:NNVD · jordan@liggitt.net (Secondary)

European references

CERT-FR advisories

Affected products

ProductAffected versions
Kubernetes · Kubernetes
affected : ≥ v1.36.0 ≤ v1.36.4
affected : ≥ v1.35.0 ≤ v1.35.8
affected : ≥ v1.34.0 ≤ v1.34.11
unknown : ≥ v1.0 ≤ v1.33.13
Other versions : unaffected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD