{"id":"CVE-2019-1002101","url":"https://www.cyber-defence.io/tools/cve/CVE-2019-1002101","generatedAt":"2026-10-29T01:57:32.004Z","title":"The kubectl cp command allows copying files between containers and the user machine.","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.","published":"2019-04-01T14:29:01.000Z","lastModified":"2026-06-17T02:09:31.000Z","status":"Modified","sourceIdentifier":"josh@bress.net","cvss":{"version":"3.0","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"},"cwe":["CWE-59"],"affected":["kubernetes/kubernetes","redhat/openshift container platform"],"epss":{"score":0.12802,"percentile":0.96265,"date":"2026-10-27","history":[{"date":"2026-09-21","score":0.10277,"percentile":0.95541},{"date":"2026-09-22","score":0.12746,"percentile":0.9609}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 12.8%, higher than 96% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2019/06/21/1","source":"josh@bress.net"},{"url":"http://www.openwall.com/lists/oss-security/2019/08/05/5","source":"josh@bress.net"},{"url":"http://www.securityfocus.com/bid/107652","tags":["Third Party Advisory","VDB Entry"],"source":"josh@bress.net"},{"url":"https://access.redhat.com/errata/RHBA-2019:0619","source":"josh@bress.net"},{"url":"https://access.redhat.com/errata/RHBA-2019:0620","source":"josh@bress.net"},{"url":"https://access.redhat.com/errata/RHBA-2019:0636","source":"josh@bress.net"},{"url":"https://github.com/kubernetes/kubernetes/pull/75037","tags":["Patch","Third Party Advisory"],"source":"josh@bress.net"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BPV2RE5RMOGUVP5WJMXKQJZUBBLAFZPZ/","source":"josh@bress.net"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QZB7E3DOZ5WDG46XAIU6K32CXHXPXB2F/","source":"josh@bress.net"},{"url":"https://www.twistlock.com/labs-blog/disclosing-directory-traversal-vulnerability-kubernetes-copy-cve-2019-1002101/","source":"josh@bress.net"},{"url":"https://access.redhat.com/security/cve/cve-2019-1002101","tags":["Third Party Advisory"],"source":"nvd@nist.gov"},{"url":"http://www.openwall.com/lists/oss-security/2019/06/21/1","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2019/08/05/5","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/107652","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHBA-2019:0619","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHBA-2019:0620","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHBA-2019:0636","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/kubernetes/kubernetes/pull/75037","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BPV2RE5RMOGUVP5WJMXKQJZUBBLAFZPZ/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QZB7E3DOZ5WDG46XAIU6K32CXHXPXB2F/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.twistlock.com/labs-blog/disclosing-directory-traversal-vulnerability-kubernetes-copy-cve-2019-1002101/","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-1002101","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}