{"id":"CVE-2019-11251","aliases":["CVE-2019-11251","GHSA-6qfg-8799-r575","GO-2022-0802"],"related":[],"kind":"vulnerability","state":"published","title":"kubectl cp allows symlink directory traversal","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Kubernetes kubectl cp Vulnerable to Symlink Attack in k8s.io/kubernetes","format":"markdown","source":"go"},{"lang":"es","text":"El comando kubectl cp de Kubernetes en las versiones 1.1-1.12 y versiones anteriores a 1.13.11, 1.14.7 y 1.15.4, permite una combinación de dos enlaces simbólicos proporcionados mediante la salida tar de un contenedor malicioso para colocar un archivo fuera del directorio de destino especificado en la invocación de kubectl cp. Esto podría ser usado para permitir aun atacante colocar un archivo nefasto usando un enlace simbólico, fuera del árbol de destino.","source":"nvd"}],"published":"2020-02-03T15:35:13.000Z","modified":"2026-06-17T02:12:37.433Z","severity":{"scorer":"kubernetes","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"kubernetes","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","score":5.7,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","score":5.7,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-59","CWE-61"],"affected":[{"ranges":[{"version":"prior to 1.13.11","status":"affected"},{"version":"prior to 1.14.7","status":"affected"},{"version":"prior to 1.15.4","status":"affected"},{"version":"1.1","status":"affected"},{"version":"1.2","status":"affected"},{"version":"1.3","status":"affected"},{"version":"1.4","status":"affected"},{"version":"1.5","status":"affected"},{"version":"1.6","status":"affected"},{"version":"1.7","status":"affected"},{"version":"1.8","status":"affected"},{"version":"1.9","status":"affected"},{"version":"1.10","status":"affected"},{"version":"1.11","status":"affected"},{"version":"1.12","status":"affected"}],"vendor":"Kubernetes","product":"Kubernetes","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.13.10","status":"affected","fixed":"1.13.11"}],"ecosystem":"Go","package":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.14.6","status":"affected","fixed":"1.14.7"}],"ecosystem":"Go","package":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.15.3","status":"affected","fixed":"1.16.0"}],"ecosystem":"Go","package":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.13.10","status":"affected","fixed":"1.13.11"},{"type":"semver","introduced":"1.14.6","status":"affected","fixed":"1.14.7"},{"type":"semver","introduced":"1.15.3","status":"affected","fixed":"1.16.0"}],"ecosystem":"Go","package":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","source":"go"},{"ranges":[{"status":"affected","introduced":"1.13.0","fixed":"1.13.11"},{"status":"affected","introduced":"1.14.0","fixed":"1.14.7"},{"status":"affected","introduced":"1.15.0","fixed":"1.15.4"},{"status":"affected","version":"1.1-1.12"}],"vendor":"kubernetes","product":"kubernetes","cpe":"cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/kubernetes/kubernetes/issues/87773","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://groups.google.com/d/msg/kubernetes-announce/YYtEFdFimZ4/nZnOezZuBgAJ","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-11251","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/kubernetes/kubernetes/pull/82143","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-6qfg-8799-r575","tags":["advisory"],"sources":["go"]}],"credits":["Erik Sjölund"],"assigner":"kubernetes","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-11251","url":"https://www.cve.org/CVERecord?id=CVE-2019-11251","licence":"CVE Terms of Use","modified":"2024-08-04T22:48:09.005Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6qfg-8799-r575","url":"https://github.com/advisories/GHSA-6qfg-8799-r575","licence":"CC-BY-4.0","modified":"2024-08-21T15:58:56.658Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0802","url":"https://pkg.go.dev/vuln/GO-2022-0802","licence":"CC-BY-4.0","modified":"2026-03-03T04:50:54.446Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-11251","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-11251","licence":"Public domain","modified":"2026-06-17T02:12:37.433Z"}],"updatedAt":"2026-11-25T22:57:49.387Z","epss":{"score":0.0262,"percentile":0.85886,"date":"2026-12-01T12:00:22.000Z"}}