CVE-2019-1002101Medium· 5.5▾ TwilightPoC availableSymlink Attack in kubectl cp
▾ Twilight zone — High severity, or a signal on a lesser flaw
impact 30.3 · likelihood 2.5 · exploitation 12
A public proof-of-concept already exists for this vulnerability — see Exploit availability below.
Public exploit / PoC code seen in 1 source. Availability, not in-the-wild use.
Exploit-prediction probability, daily snapshots since Sep 12.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
13%
1 GitHub repo (last check)
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.
k8s.io/kubernetes < 1.11.9k8s.io/kubernetes >= 1.12.0, < 1.12.7k8s.io/kubernetes >= 1.13.0, < 1.13.5Upgrade to a patched release:
k8s.io/kubernetes 1.11.9k8s.io/kubernetes 1.12.7k8s.io/kubernetes 1.13.5Connected by shared product, vendor, weakness, or advisory.
CVE-2024-10220High· 8.1Kubernetes kubelet arbitrary command execution
CVE-2024-5321Medium· 6.1Kubernetes sets incorrect permissions on Windows containers logs
CVE-2023-3676High· 8.8Kubernetes privilege escalation vulnerability
CVE-2020-8561Medium· 4.1Confused Deputy in Kubernetes
CVE-2025-1767Medium· 6.5Kubernetes GitRepo Volume Inadvertent Local Repository Access
CVE-2021-25736Medium· 5.8Kube-proxy may unintentionally forward traffic