pip vulnerabilities

The PyPA recommended tool for installing Python packages.

Registry
PyPI
Latest
26.3
License
MIT

13 known advisories

The latest version, 26.3, is not affected by any of them. Projects on older versions may be.

Update to the latest version:pip install 'pip>=26.3'

Is your project on an affected pip?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for pip

  • MediumCVE-2026-13346GHSA-qwm4-qh6w-59xr29 Jul 2026

    pip would incorrectly handle doubly-encoded package URLs from indexes

    Affected
    <26.2.0
    Fixed in
    26.2.0
  • MediumCVE-2026-8643GHSA-wf93-45jw-76891 Jun 2026

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

    Affected
    <26.1.2
    Fixed in
    26.1.2
  • MediumCVE-2026-6357GHSA-jp4c-xjxw-mgf927 Apr 2026

    pip Vulnerable to Inclusion of Functionality from Untrusted Control Sphere

    Affected
    <26.1
    Fixed in
    26.1
  • MediumCVE-2026-3219GHSA-58qw-9mgm-455v20 Apr 2026

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

    Affected
    <26.1
    Fixed in
    26.1
  • LowCVE-2026-1703GHSA-6vgw-5pg2-w6jp2 Feb 2026

    pip Path Traversal vulnerability

    Affected
    <26.0
    Fixed in
    26.0
  • MediumCVE-2025-8869GHSA-4xh5-x5gv-qwph24 Sept 2025

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

    Affected
    <25.3
    Fixed in
    25.3
  • MediumCVE-2023-5752GHSA-mq26-g339-26xf25 Oct 2023

    Command Injection in pip when used with Mercurial

    Affected
    <23.3
    Fixed in
    23.3
  • HighCVE-2013-5123GHSA-c5h8-cq4v-cvfm24 May 2022

    Improper Authentication in pip

    Affected
    <1.5
    Fixed in
    1.5
  • HighCVE-2013-1629GHSA-g3p5-fjj9-h8gj13 May 2022

    Improper Input Validation in pip

    Affected
    <1.3
    Fixed in
    1.3
  • MediumCVE-2013-1888GHSA-4gv5-qhvr-36vv13 May 2022

    Improper Link Resolution Before File Access in pip

    Affected
    <1.3
    Fixed in
    1.3
  • MediumCVE-2014-8991GHSA-53mr-44pp-crf413 May 2022

    pip lack of randomness in build directory

    Affected
    >=1.3 <6.0
    Fixed in
    6.0
  • HighCVE-2021-3572GHSA-5xp3-jfq3-5q8x15 Nov 2021

    Improper Input Validation in pip

    Affected
    <21.1
    Fixed in
    21.1
  • HighCVE-2019-20916GHSA-gpvv-69j7-gwj89 Jun 2021

    Path Traversal in pip

    Affected
    <19.2
    Fixed in
    19.2

Is your pip version vulnerable?

Which of your client projects still run an old pip?

NPMscan reads the requirements.txt, poetry.lock, uv.lock and Pipfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other PyPI packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the PyPI registry.