pip — CVE history (PyPI)

pip

13 CVEs affect the pip PyPI package (highest CVSS 7.8). Latest disclosed: 2026-06-01. Full CVE history sourced from NVD.

Summary

Package
pip (PyPI)
Total CVEs
13
Actively exploited (CISA KEV)
0
Highest CVSS
7.8
Latest disclosed
2026-06-01

Recent CVEs (top 13)

CVESeverityCVSSKEVPublishedSummary
CVE-2026-8643Medium5.52026-06-01pip would treat console_scripts and gui_scripts as paths instead of file names without sanitizing the resolved absolute path to the installation directory, leading to entry points being installed outside the installation directory.
CVE-2026-63572026-04-27pip prior to version 26.1 would run self-update check functionality after installing wheel files which required importing well-known Python modules names.
CVE-2026-32192026-04-20pip handles concatenated tar and ZIP files as ZIP files regardless of filename or whether a file is both a tar and ZIP file.
CVE-2026-17032026-02-02When pip is installing and extracting a maliciously crafted wheel archive, files may be extracted outside the installation directory.
CVE-2025-88692025-09-24When extracting a tar archive pip may not check symbolic links point into the extraction directory if the tarfile module doesn't implement PEP 706.
CVE-2023-5752Medium5.52023-10-25When installing a package from a Mercurial VCS URL (ie "pip install hg+...") with pip prior to v23.3, the specified Mercurial revision could be used to inject arbitrary configuration options to the "hg clone" call (ie "--config").
CVE-2021-3572Medium5.72021-11-10A flaw was found in python-pip in the way it handled Unicode separators in git references.
CVE-2019-20916High7.52020-09-04The 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 fil…
CVE-2018-20225High7.82020-05-08An issue was discovered in pip (all versions) because it installs the version with the highest version number, even if the user had intended to obtain a private package from a private index.
CVE-2013-5123Medium5.92019-11-05The mirroring support (-M, --use-mirrors) in Python Pip before 1.5 uses insecure DNS querying and authenticity checks which allows attackers to perform man-in-the-middle attacks.
CVE-2014-89912014-11-24pip 1.3 through 1.5.6 allows local users to cause a denial of service (prevention of package installation) by creating a /tmp/pip-build-* file for another user.
CVE-2013-18882013-08-17pip before 1.3 allows local users to overwrite arbitrary files via a symlink attack on a file in the /tmp/pip-build temporary directory.
CVE-2013-16292013-08-06pip before 1.3 uses HTTP to retrieve packages from the PyPI repository, and does not perform integrity checks on package contents, which allows man-in-the-middle attackers to execute arbitrary code via a crafted response to a "pip install"…

All-time worst (top 6 by CVSS)

CVESeverityCVSSKEVPublishedSummary
CVE-2018-20225High7.82020-05-08An issue was discovered in pip (all versions) because it installs the version with the highest version number, even if the user had intended to obtain a private package from a private index.
CVE-2019-20916High7.52020-09-04The 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 fil…
CVE-2013-5123Medium5.92019-11-05The mirroring support (-M, --use-mirrors) in Python Pip before 1.5 uses insecure DNS querying and authenticity checks which allows attackers to perform man-in-the-middle attacks.
CVE-2021-3572Medium5.72021-11-10A flaw was found in python-pip in the way it handled Unicode separators in git references.
CVE-2026-8643Medium5.52026-06-01pip would treat console_scripts and gui_scripts as paths instead of file names without sanitizing the resolved absolute path to the installation directory, leading to entry points being installed outside the installation directory.
CVE-2023-5752Medium5.52023-10-25When installing a package from a Mercurial VCS URL (ie "pip install hg+...") with pip prior to v23.3, the specified Mercurial revision could be used to inject arbitrary configuration options to the "hg clone" call (ie "--config").