Skip to content

← Public intelligence

PyPI package

pip

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

13 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 5.6PyPIPublished

    pip would incorrectly handle doubly-encoded package URLs from indexes

    CVE-2026-13346 · GHSA-qwm4-qh6w-59xr

    Affected
    • PyPI pip < 26.2.0
    Fixed in
    26.2.0· Vendor fix available
    Issue
    pip would incorrectly handle doubly-encoded package URLs from indexes allowing for files to be installed to arbitrary locations on disk even when installing wheels. This vulnerability requires downloading or installing a package from a malicious package index to succeed, malicious packages alone are not able to exploit this vulnerability. Note that this vulnerability only materially impacts users running pip download with the --only-binary option as installing source distributions from an untrusted index is already an unsafe operation that executes code during install time.

    Recommended action: Upgrade to 26.2.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Medium, CVSS 4.1PyPIAmendedPublished

    pip: Path traversal in console_scripts/gui_scripts entry point names allows installing scripts outside of target directory

    CVE-2026-8643 · GHSA-wf93-45jw-7689

    Affected
    • PyPI pip < 26.1.2
    Fixed in
    26.1.2· Vendor fix available
    Issue
    pip would treat consolescripts and guiscripts 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.

    Recommended action: Upgrade to 26.1.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  3. Medium, CVSS 5.3PyPIAmendedPublished

    pip Vulnerable to Inclusion of Functionality from Untrusted Control Sphere

    CVE-2026-6357 · GHSA-jp4c-xjxw-mgf9

    Affected
    • PyPI pip < 26.1
    Fixed in
    26.1· Vendor fix available
    Issue
    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 installed to prevent newly-installed modules from being imported shortly after the installation of a wheel package. Users should still review package contents prior to installation.

    Recommended action: Upgrade to 26.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  4. Medium, CVSS 4.6PyPIAmendedPublished

    pip has an interpretation conflict due to handling both concatenated tar and ZIP files as ZIP files

    CVE-2026-3219 · GHSA-58qw-9mgm-455v

    Affected
    • PyPI pip <= 26.0.1
    Fixed in
    26.1· Vendor fix available
    Issue
    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. New behavior only proceeds with installation if the file identifies uniquely as a ZIP or tar archive, not as both.

    Recommended action: Upgrade to 26.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  5. Low, CVSS 2.0PyPIAmendedPublished

    pip Path Traversal vulnerability

    CVE-2026-1703 · GHSA-6vgw-5pg2-w6jp

    Affected
    • PyPI pip < 26.0
    Fixed in
    26.0· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 26.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  6. Medium, CVSS 5.9PyPIAmendedPublished

    pip's fallback tar extraction doesn't check symbolic links point to extraction directory

    CVE-2025-8869 · GHSA-4xh5-x5gv-qwph

    Affected
    • PyPI pip <= 25.2
    Fixed in
    25.3· Vendor fix available
    Issue
    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 version that implements PEP 706. Note that this is a vulnerability in pip's fallback implementation of tar extraction for Python versions that don't implement PEP 706 and therefore are not secure to all vulnerabilities in the Python 'tarfile' module. If you're using a Python version that implements PEP 706 then pip doesn't use the "vulnerable" fallback code. Mitigations include upgrading to a version of pip that includes the fix, upgrading to a Python version that implements PEP 706 (Python =3.9.17, =3.10.12, =3.11.4, or =3.12), applying the linked patch, or inspecting source distributions (sdists) before installation as is already a best-practice.

    Recommended action: Upgrade to 25.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  7. Medium, CVSS 6.8PyPIAmendedPublished

    Command Injection in pip when used with Mercurial

    CVE-2023-5752 · GHSA-mq26-g339-26xf

    Affected
    • PyPI pip < 23.3
    Fixed in
    23.3· Vendor fix available
    Issue
    When installing a package from a Mercurial VCS URL, e.g. 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 (e.g. --config). Controlling the Mercurial configuration can modify how and which repository is installed. This vulnerability does not affect users who aren't installing from Mercurial.

    Recommended action: Upgrade to 23.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  8. High, CVSS 8.2PyPIAmendedPublished

    Improper Authentication in pip

    CVE-2013-5123 · GHSA-c5h8-cq4v-cvfm

    Affected
    • PyPI pip < 1.5
    Fixed in
    1.5· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 1.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  9. Medium, CVSS 6.9PyPIAmendedPublished

    Improper Link Resolution Before File Access in pip

    CVE-2013-1888 · GHSA-4gv5-qhvr-36vv

    Affected
    • PyPI pip < 1.3
    Fixed in
    1.3· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 1.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  10. Medium, CVSS 5.5PyPIAmendedPublished

    pip lack of randomness in build directory

    CVE-2014-8991 · GHSA-53mr-44pp-crf4

    Affected
    • PyPI pip >= 1.3, < 6.0
    Fixed in
    6.0· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 6.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  11. High, CVSS 7.3PyPIAmendedPublished

    Improper Input Validation in pip

    CVE-2013-1629 · GHSA-g3p5-fjj9-h8gj

    Affected
    • PyPI pip < 1.3
    Fixed in
    1.3· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 1.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  12. High, CVSS 7.1PyPIAmendedPublished

    Improper Input Validation in pip

    CVE-2021-3572 · GHSA-5xp3-jfq3-5q8x

    Affected
    • PyPI pip < 21.1
    Fixed in
    21.1· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 21.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  13. High, CVSS 8.7PyPIAmendedPublished

    Path Traversal in pip

    CVE-2019-20916 · GHSA-gpvv-69j7-gwj8

    Affected
    • PyPI pip < 19.2
    Fixed in
    19.2· Vendor fix available
    Issue
    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/authorizedkeys file. This occurs in downloadhttpurl in internal/download.py. A fix was committed 6704f2ace.

    Recommended action: Upgrade to 19.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →