# CVE-2019-1002101: kubectl cp path traversal

- Severity: Medium 6.4 (CVSS:3.0, scored by dwf) `CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 12.8%, higher than 96% of CVEs (2026-12-01)
- Published: 2019-04-01T14:14:27.768Z
- Modified: 2026-09-10T03:49:16.689Z
- Also known as: GHSA-34jx-wx69-9x8v, GO-2022-0782
- Related: CGA-mm7f-6rmq-q3x8
- Weaknesses: CWE-59
- Assigned by: dwf

## 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.

(As written by CVE List.)

## Affected

- Kubernetes Kubernetes: 1.1-1.10; from 1.11 before 1.11.9; from 1.12 before 1.12.7; from 1.13 before 1.13.5; from 1.11.0 before 1.11.9; from 1.12.0 before 1.12.7; from 1.13.0 before 1.13.5; 1.14.0
- k8s.io/kubernetes (Go): before 1.11.9; from 1.12.0 before 1.12.7; from 1.13.0 before 1.13.5
- redhat openshift_container_platform: 3.9; 3.10; 3.11

## Every score

- dwf: CVSS:3.0 6.4 Medium `CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.0 5.5 Medium `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.0 5.5 Medium `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:P`

## References

- <https://github.com/kubernetes/kubernetes/pull/75037> (patch, third-party-advisory, web)
- <http://www.securityfocus.com/bid/107652> (third-party-advisory, vdb-entry, web)
- <https://access.redhat.com/errata/RHBA-2019:0620> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHBA-2019:0619> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHBA-2019:0636> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BPV2RE5RMOGUVP5WJMXKQJZUBBLAFZPZ/> (vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2019/06/21/1> (mailing-list, web)
- <http://www.openwall.com/lists/oss-security/2019/08/05/5> (mailing-list, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QZB7E3DOZ5WDG46XAIU6K32CXHXPXB2F/> (vendor-advisory)
- <https://www.twistlock.com/labs-blog/disclosing-directory-traversal-vulnerability-kubernetes-copy-cve-2019-1002101/>
- <https://nvd.nist.gov/vuln/detail/CVE-2019-1002101> (advisory)
- <https://github.com/kubernetes/kubernetes/commit/47063891dd782835170f500a83f37cc98c3c1013> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BPV2RE5RMOGUVP5WJMXKQJZUBBLAFZPZ> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QZB7E3DOZ5WDG46XAIU6K32CXHXPXB2F> (web)
- <https://www.twistlock.com/labs-blog/disclosing-directory-traversal-vulnerability-kubernetes-copy-cve-2019-1002101> (web)
- <https://github.com/advisories/GHSA-34jx-wx69-9x8v> (advisory)
- <https://access.redhat.com/security/cve/cve-2019-1002101> (third-party-advisory)

## Sources

- CVE List: [CVE-2019-1002101](https://www.cve.org/CVERecord?id=CVE-2019-1002101), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-34jx-wx69-9x8v](https://github.com/advisories/GHSA-34jx-wx69-9x8v), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2022-0782](https://pkg.go.dev/vuln/GO-2022-0782), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2019-1002101](https://nvd.nist.gov/vuln/detail/CVE-2019-1002101), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-1002101 · Whole record: https://cve.day/CVE-2019-1002101.json · Rebuilt by cve.day 2026-11-25T22:57:44.237Z
