All reports
High

Path Traversal in pip

Affected versions

Version ranges need review.

PyPIpip
Affected versions
<19.2
Fixed version
19.2
PyPIpip
Affected versions
< 19.2
Fixed version
19.2
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2019-20916

Probability of exploitation in the next 30 days: 3.00%

FIRST EPSS · 2026-11-20

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. A fix was committed 6704f2ace.

Links