Pypa Pip vulnerabilities
12 known vulnerabilities affecting pypa/pip.
Total CVEs
12
CISA KEV
0
Public exploits
1
Exploited in wild
0
Severity breakdown
HIGH1MEDIUM7LOW4
Vulnerabilities
Page 1 of 1
CVE-2013-5123P3MEDIUMCVSS 5.9PoCfixed in 1.52019-11-05
CVE-2013-5123 [MEDIUM] CWE-287 CVE-2013-5123: The mirroring support (-M, --use-mirrors) in Python Pip before 1.5 uses insecure DNS querying and au
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.
ghsanvdosv
CVE-2019-20916P3HIGHCVSS 7.5fixed in 19.22020-09-04
CVE-2019-20916 [HIGH] CWE-22 CVE-2019-20916: The pip package before 19.2 for Python allows Directory Traversal when a URL is given in an install
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.
ghsanvdosv
CVE-2013-1629P3MEDIUMCVSS 6.8fixed in 1.32013-08-06
CVE-2013-1629 [MEDIUM] CWE-20 CVE-2013-1629: pip before 1.3 uses HTTP to retrieve packages from the PyPI repository, and does not perform integri
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" operation.
ghsanvdosv
CVE-2025-8869P4MEDIUM≥ 0, < 25.32025-09-24
CVE-2025-8869 [MEDIUM] CWE-59 pip's fallback tar extraction doesn't check symbolic links point to extraction directory
pip's fallback tar extraction doesn't check symbolic links point to extraction directory
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. Note that upgrading pip to a "fixed" version for this vulnerability doesn't fix all known vulnerabilities that are remediated by using a Python
ghsaosv
CVE-2021-3572P4MEDIUMCVSS 5.7fixed in 21.12021-11-10
CVE-2021-3572 [MEDIUM] CWE-20 CVE-2021-3572: A flaw was found in python-pip in the way it handled Unicode separators in git references. A remote
A flaw was found in python-pip in the way it handled Unicode separators in git references. A remote attacker could possibly use this issue to install a different revision on a repository. The highest threat from this vulnerability is to data integrity. This is fixed in python-pip version 21.1.
ghsanvdosv
CVE-2026-8643P4MEDIUMCVSS 5.5fixed in 26.1.22026-06-01
CVE-2026-8643 [MEDIUM] CWE-22 CVE-2026-8643: pip would treat console_scripts and gui_scripts as paths instead of file names without sanitizing th
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.
nvd
CVE-2026-6357P4MEDIUM≥ 0, < 26.12026-04-27
CVE-2026-6357 [MEDIUM] CWE-829 pip Vulnerable to Inclusion of Functionality from Untrusted Control Sphere
pip Vulnerable to Inclusion of Functionality from Untrusted Control Sphere
pip prior to version 26.1 would run self-update check functionality after installing wheel files which required importing well-known Python modules names. These module imports were intentionally deferred to increase startup time of the pip CLI. The patch changes self-update functionality to run before wheels are inst
ghsa
CVE-2026-3219P4MEDIUM≥ 0, ≤ 26.0.12026-04-20
CVE-2026-3219 [MEDIUM] CWE-434 pip has an interpretation conflict due to handling both concatenated tar and ZIP files as ZIP files
pip has an interpretation conflict due to handling both concatenated tar and ZIP files as ZIP files
pip handles concatenated tar and ZIP files as ZIP files regardless of filename or whether a file is both a tar and ZIP file. This behavior could result in confusing installation behavior, such as installing "incorrect" files according to the filename of the archive. N
ghsa
CVE-2023-5752P4LOWCVSS 3.3fixed in 23.32023-10-25
CVE-2023-5752 [LOW] CWE-77 CVE-2023-5752: When installing a package from a Mercurial VCS URL (ie "pip install hg+...") with pip prior to v23
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"). Controlling the Mercurial configuration can modify
how and which repository is installed. This vulnerability does not
affect use
ghsanvdosv
CVE-2026-1703P4LOW≥ 0, < 26.02026-02-02
CVE-2026-1703 [LOW] CWE-22 pip Path Traversal vulnerability
pip Path Traversal vulnerability
When pip is installing and extracting a maliciously crafted wheel archive, files may be extracted outside the installation directory. The path traversal is limited to prefixes of the installation directory, thus isn't able to inject or overwrite executable files in typical situations.
ghsaosv
CVE-2013-1888P4LOWCVSS 2.1fixed in 1.32013-08-17
CVE-2013-1888 [LOW] CWE-59 CVE-2013-1888: pip before 1.3 allows local users to overwrite arbitrary files via a symlink attack on a file in the
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.
ghsanvdosv
CVE-2014-8991P4LOWCVSS 2.1≥ 1.3, ≤ 1.5.62014-11-24
CVE-2014-8991 [LOW] CVE-2014-8991: pip 1.3 through 1.5.6 allows local users to cause a denial of service (prevention of package install
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.
ghsanvdosv