{"cve":"CVE-2019-20916","nvd":{"published":"2020-09-04T20:15:11.013","modified":"2026-06-17T02:31:25.907","status":"Modified","description":"The pip package before 19.2 for Python allows Directory Traversal when a URL is given in an install command, because a Content-Disposition header can have ../ in a filename, as demonstrated by overwriting the /root/.ssh/authorized_keys file. This occurs in _download_http_url in _internal/download.py.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5},"cwes":["CWE-22"],"references":["http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00005.html","http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00010.html","https://github.com/gzpan123/pip/commit/a4c735b14a62f9cb864533808ac63936704f2ace","https://github.com/pypa/pip/compare/19.1.1...19.2","https://github.com/pypa/pip/issues/6413"],"products":["debian:debian_linux","opensuse:leap","oracle:communications_cloud_native_core_network_function_cloud_native_environment","oracle:communications_cloud_native_core_policy","pypa:pip"],"source":"nvd","synced_at":"2026-10-19T21:09:20.498348299+00:00"},"epss":{"cve":"CVE-2019-20916","score":0.03003,"percentile":0.87381,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-gpvv-69j7-gwj8","url":"https://osv.dev/vulnerability/GHSA-gpvv-69j7-gwj8","summary":"Path Traversal in pip","modified":"2024-10-14T18:39:41.495125Z","packages":[{"ecosystem":"PyPI","name":"pip","purl":"pkg:pypi/pip","ranges":["<19.2"],"fixed":["19.2"]}]},{"id":"PYSEC-2020-173","url":"https://osv.dev/vulnerability/PYSEC-2020-173","summary":"","modified":"2023-11-08T04:01:31.361287Z","packages":[{"ecosystem":"PyPI","name":"pip","purl":"pkg:pypi/pip","ranges":["<19.2"],"fixed":["19.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}