{"cve":"CVE-2019-1002101","nvd":{"published":"2019-04-01T14:29:00.640","modified":"2026-06-17T02:09:30.630","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":5.5},"cwes":["CWE-59"],"references":["http://www.openwall.com/lists/oss-security/2019/06/21/1","http://www.openwall.com/lists/oss-security/2019/08/05/5","http://www.securityfocus.com/bid/107652","https://access.redhat.com/errata/RHBA-2019:0619","https://access.redhat.com/errata/RHBA-2019:0620"],"products":["kubernetes:kubernetes","redhat:openshift_container_platform"],"source":"nvd","synced_at":"2026-10-19T20:55:22.313337056+00:00"},"epss":{"cve":"CVE-2019-1002101","score":0.12802,"percentile":0.96287,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-34jx-wx69-9x8v","url":"https://osv.dev/vulnerability/GHSA-34jx-wx69-9x8v","summary":"Symlink Attack in kubectl cp","modified":"2026-09-10T03:49:16.689274317Z","packages":[{"ecosystem":"Go","name":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","ranges":["<1.11.9"],"fixed":["1.11.9"]},{"ecosystem":"Go","name":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","ranges":[">=1.12.0 <1.12.7"],"fixed":["1.12.7"]},{"ecosystem":"Go","name":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","ranges":[">=1.13.0 <1.13.5"],"fixed":["1.13.5"]}]},{"id":"GO-2022-0782","url":"https://osv.dev/vulnerability/GO-2022-0782","summary":"Symlink Attack in kubectl cp in k8s.io/kubernetes","modified":"2026-02-04T04:37:00.053507Z","packages":[{"ecosystem":"Go","name":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","ranges":["<1.11.9",">=1.12.0 <1.12.7",">=1.13.0 <1.13.5"],"fixed":["1.11.9","1.12.7","1.13.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}