# CVE-2019-11251: kubectl cp allows symlink directory traversal

- Severity: Medium 4.8 (CVSS:3.1, scored by kubernetes) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N`
- 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): 2.62%, higher than 85% of CVEs (2026-12-01)
- Published: 2020-02-03T15:35:13.000Z
- Modified: 2026-06-17T02:12:37.433Z
- Also known as: GHSA-6qfg-8799-r575, GO-2022-0802
- Weaknesses: CWE-59, CWE-61
- Assigned by: kubernetes

## Description

The Kubernetes kubectl cp command in versions 1.1-1.12, and versions prior to 1.13.11, 1.14.7, and 1.15.4 allows a combination of two symlinks provided by tar output of a malicious container to place a file outside of the destination directory specified in the kubectl cp invocation. This could be used to allow an attacker to place a nefarious file using a symlink, outside of the destination tree.

(As written by CVE List.)

## Affected

- Kubernetes Kubernetes: prior to 1.13.11; prior to 1.14.7; prior to 1.15.4; 1.1; 1.2; 1.3; 1.4; 1.5; 1.6; 1.7; 1.8; 1.9; and 7 more
- k8s.io/kubernetes (Go): from 1.13.10 before 1.13.11; from 1.14.6 before 1.14.7; from 1.15.3 before 1.16.0

## Every score

- kubernetes: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/kubernetes/kubernetes/issues/87773> (third-party-advisory, web)
- <https://groups.google.com/d/msg/kubernetes-announce/YYtEFdFimZ4/nZnOezZuBgAJ> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-11251> (advisory)
- <https://github.com/kubernetes/kubernetes/pull/82143> (web)
- <https://github.com/advisories/GHSA-6qfg-8799-r575> (advisory)

## Sources

- CVE List: [CVE-2019-11251](https://www.cve.org/CVERecord?id=CVE-2019-11251), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-6qfg-8799-r575](https://github.com/advisories/GHSA-6qfg-8799-r575), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-0802](https://pkg.go.dev/vuln/GO-2022-0802), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2019-11251](https://nvd.nist.gov/vuln/detail/CVE-2019-11251), Public domain, modified 2026-06-17

---

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