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)
| CVE | Severity | CVSS | KEV | Published | Summary |
|---|---|---|---|---|---|
CVE-2026-8643 | Medium | 5.5 | — | 2026-06-01 | pip 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-6357 | — | — | — | 2026-04-27 | pip 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-3219 | — | — | — | 2026-04-20 | pip 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-1703 | — | — | — | 2026-02-02 | When pip is installing and extracting a maliciously crafted wheel archive, files may be extracted outside the installation directory. |
CVE-2025-8869 | — | — | — | 2025-09-24 | When 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-5752 | Medium | 5.5 | — | 2023-10-25 | When 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-3572 | Medium | 5.7 | — | 2021-11-10 | A flaw was found in python-pip in the way it handled Unicode separators in git references. |
CVE-2019-20916 | High | 7.5 | — | 2020-09-04 | 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 fil… |
CVE-2018-20225 | High | 7.8 | — | 2020-05-08 | An 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-5123 | Medium | 5.9 | — | 2019-11-05 | The 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-8991 | — | — | — | 2014-11-24 | pip 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-1888 | — | — | — | 2013-08-17 | pip 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-1629 | — | — | — | 2013-08-06 | pip 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)
| CVE | Severity | CVSS | KEV | Published | Summary |
|---|---|---|---|---|---|
CVE-2018-20225 | High | 7.8 | — | 2020-05-08 | An 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-20916 | High | 7.5 | — | 2020-09-04 | 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 fil… |
CVE-2013-5123 | Medium | 5.9 | — | 2019-11-05 | The 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-3572 | Medium | 5.7 | — | 2021-11-10 | A flaw was found in python-pip in the way it handled Unicode separators in git references. |
CVE-2026-8643 | Medium | 5.5 | — | 2026-06-01 | pip 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-5752 | Medium | 5.5 | — | 2023-10-25 | When 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"). |