# CVE-2019-1002101: kubectl cp path traversal

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.4
- **CVSS:** 6.4 (v3.0, CNA) `CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: High; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 12.80% (percentile 97, 2026-11-28)
- **CWE:** CWE-59
- **Aliases:** GHSA-34jx-wx69-9x8v, GO-2022-0782
- **Published:** 2019-04-01T14:14:27.768Z
- **Modified:** 2026-09-10T03:49:16.689Z

## Who should check

- Projects that depend on Go package k8s.io/kubernetes (\< 1.11.9)
- Anyone running Kubernetes 1.1-1.10; \>= 1.11, \< 1.11.9; \>= 1.12, \< 1.12.7; \>= 1.13, \< 1.13.5

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

## Affected and fixed versions

- Go `k8s.io/kubernetes`: affected \< 1.11.9; fixed 1.11.9, 1.12.7, 1.13.5 (osv)
- Kubernetes: 1.1-1.10; \>= 1.11, \< 1.11.9; \>= 1.12, \< 1.12.7; \>= 1.13, \< 1.13.5 (cvelist)

## Mitigation

- Upgrade k8s.io/kubernetes to one of 1.11.9, 1.12.7, 1.13.5 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2019-1002101. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2019-1002101.md
Affected: k8s.io/kubernetes < 1.11.9
Fixed in: 1.11.9, 1.12.7, 1.13.5

Steps:
1. Search this machine and project for k8s.io/kubernetes (Go), Kubernetes: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2019-1002101 being exploited?

There is no confirmed exploitation: CVE-2019-1002101 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 12.80% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2019-1002101?

Medium: CVSS 6.4 (v3.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2019-1002101?

k8s.io/kubernetes \< 1.11.9.

### Is there a fix for CVE-2019-1002101?

Yes. Fixed in 1.11.9, 1.12.7, 1.13.5. Upgrade k8s.io/kubernetes to one of 1.11.9, 1.12.7, 1.13.5 (or later in the same release line).

### How do I check if I'm affected by CVE-2019-1002101?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2019-1002101>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-34jx-wx69-9x8v> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2022-0782> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2019-1002101> · JSON: <https://flawdb.com/api/v1/entries/CVE-2019-1002101>
