Read the docs

kubectl cp path traversal

Priority MEDIUM 43CWE-59Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
Required
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.0 · CNA. Fix status from CNA, GitHub and Red Hat.

Summary

The kubectl cp command allows copying files between containers and the user machine. To copy files from a container, Kubernetes creates a tar inside the container, 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 could use this to write files to any path on the user’s machine when kubectl cp is called, limited only by the system permissions of the local user. The untar function can both create and follow symbolic links. The issue is resolved in kubectl v1.11.9, v1.12.7, v1.13.5, and v1.14.0.

Why it matters now

EPSS 0.12802 96th percentileScored 2026-11-07
Fix Fixed Kubernetes (Kubernetes): 1.11.9, 1.12.7, 1.13.5k8s.io/kubernetes (Go): 1.11.9, 1.12.7, 1.13.5

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
KubernetesKubernetes1.1-1.10; 1.11 to before 1.11.9; 1.12 to before 1.12.7; 1.13 to before 1.13.51.11.9, 1.12.7, 1.13.5Patch availableCNA
—k8s.io/kubernetes (Go)before 1.11.91.11.9Patch availableGHSA-34jx-wx69-9x8v
—k8s.io/kubernetes (Go)1.12.0 to before 1.12.71.12.7Patch availableGHSA-34jx-wx69-9x8v
—k8s.io/kubernetes (Go)1.13.0 to before 1.13.51.13.5Patch availableGHSA-34jx-wx69-9x8v
  • Kubernetes VendorKubernetes Affected 1.1-1.10; 1.11 to before 1.11.9; 1.12 to before 1.12.7; 1.13 to before 1.13.5 Fixed in 1.11.9, 1.12.7, 1.13.5 Patch available CNA
  • k8s.io/kubernetes (Go) Vendor— Affected before 1.11.9 Fixed in 1.11.9 Patch available GHSA-34jx-wx69-9x8v
  • k8s.io/kubernetes (Go) Vendor— Affected 1.12.0 to before 1.12.7 Fixed in 1.12.7 Patch available GHSA-34jx-wx69-9x8v
  • k8s.io/kubernetes (Go) Vendor— Affected 1.13.0 to before 1.13.5 Fixed in 1.13.5 Patch available GHSA-34jx-wx69-9x8v

CPE configurations NVD · 5

CPEVersionsRoleVendor
cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*1.11.0 to before 1.11.9; 1.12.0 to before 1.12.7; 1.13.0 to before 1.13.5VulnerableKubernetes
cpe:2.3:a:kubernetes:kubernetes:1.14.0:*:*:*:*:*:*:*1.14.0VulnerableKubernetes
cpe:2.3:a:redhat:openshift_container_platform:3.9:*:*:*:*:*:*:*3.9VulnerableRed Hat
cpe:2.3:a:redhat:openshift_container_platform:3.10:*:*:*:*:*:*:*3.10VulnerableRed Hat
cpe:2.3:a:redhat:openshift_container_platform:3.11:*:*:*:*:*:*:*3.11VulnerableRed Hat
  • cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* Versions 1.11.0 to before 1.11.9; 1.12.0 to before 1.12.7; 1.13.0 to before 1.13.5 Vulnerable ·Kubernetes
  • cpe:2.3:a:kubernetes:kubernetes:1.14.0:*:*:*:*:*:*:* Versions 1.14.0 Vulnerable ·Kubernetes
  • cpe:2.3:a:redhat:openshift_container_platform:3.9:*:*:*:*:*:*:* Versions 3.9 Vulnerable ·Red Hat
  • cpe:2.3:a:redhat:openshift_container_platform:3.10:*:*:*:*:*:*:* Versions 3.10 Vulnerable ·Red Hat
  • cpe:2.3:a:redhat:openshift_container_platform:3.11:*:*:*:*:*:*:* Versions 3.11 Vulnerable ·Red Hat

Remediation

  • Fix · CNA Kubernetes (Kubernetes) Fixed in 1.11.9, 1.12.7, 1.13.5
  • Fix · GHSA-34jx-wx69-9x8v k8s.io/kubernetes (Go) Fixed in 1.11.9 Advisory →
  • Fix · GHSA-34jx-wx69-9x8v k8s.io/kubernetes (Go) Fixed in 1.12.7 Advisory →
  • Fix · GHSA-34jx-wx69-9x8v k8s.io/kubernetes (Go) Fixed in 1.13.5 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat OpenShift Container Platform 3.10Fixed—
Red Hat OpenShift Container Platform 3.11Fixed—
Red Hat OpenShift Container Platform 3.9Fixed—
Not affected: 6 products
  • Red Hat OpenShift Container Platform 3.4
  • Red Hat OpenShift Container Platform 3.5
  • Red Hat OpenShift Container Platform 3.6
  • Red Hat OpenShift Container Platform 3.7
  • Red Hat OpenShift Container Platform 4
  • Red Hat Storage 3

Timeline

  1. 2026-10-02 Threatist record created from CVE-2019-1002101
  2. 2026-10-03 Alias added: GHSA-34jx-wx69-9x8v

References

  • TI-2018-16130 Improper privilege management in Kubernetes CVSS 3.0CRITICAL 9.8
  • TI-2019-08418 Kubernetes kubelet exposes /debug/pprof info on healthz port CVSS 3.1HIGH 8.2
  • TI-2023-05086 Kubernetes - Windows nodes - Insufficient input sanitization in in-tree storage plugin leads to privilege escalation CVSS 3.1HIGH 8.8
  • TI-2023-03433 Kubernetes - Windows nodes - Insufficient input sanitization leads to privilege escalation CVSS 3.1HIGH 8.8
  • TI-2023-02285 Bypass of seccomp profile enforcement CVSS 3.1MEDIUM 5.5
  • TI-2017-14755 Link following in Kubernetes CVSS 3.0CRITICAL 9.6
See all 55 →

Sources