CVE-2025-8869: PYSEC-2026-1795 - pip's fallback tar extraction doesn't check symbolic links point to extraction directory

CVE-2025-8869 · Severity: medium · CVSS 4 · Published 2026-07-07

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

Technologies: pip (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2025-8869 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-8869 being exploited in the wild.
How severe is CVE-2025-8869?
Medium severity, with a CVSS score of 4, published 7 July 2026.
Which products and versions are affected?
pip (PyPI) ECOSYSTEM:introduced=0,fixed=25.3.
Is there a fix for CVE-2025-8869?
Yes. pip (PyPI): upgrade to 25.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-8869?
Check whether you run pip (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • pip (PyPI): upgrade to 25.3 or later
    pip install "pip>=25.3"

Affected products

  • pip (PyPI) ECOSYSTEM:introduced=0,fixed=25.3

Identifiers

  • CVE-2025-8869
  • GHSA-4xh5-x5gv-qwph
  • PYSEC-2026-1795

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.