Live threats

All CVEs / Pypa

CVE-2019-20916Pypa Pip

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
3.0%
probability of exploitation in 30 days · percentile 88
Auth required
No
Published
Sep 4, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pip.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI pip < 19.2 19.2 pip install "pip>=19.2"
PyPI pip < 19.2 19.2 pip install "pip>=19.2"

Per OSV / GitHub Advisories (GHSA-gpvv-69j7-gwj8, PYSEC-2020-173). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pypapip< 19.2
opensuseleap15.1
opensuseleap15.2
debiandebian_linux9.0
oraclecommunications_cloud_native_core_network_function_cloud_native_environment1.10.0
oraclecommunications_cloud_native_core_network_function_cloud_native_environment22.1.0
oraclecommunications_cloud_native_core_policy1.15.0

Official sources

References

Links published by the sources. Open them with care.