CVEBrief

Home / Python Packaging Authority / pip / CVE-2025-8869

CVE-2025-8869: is it exploited, and which versions of Python Packaging Authority pip are affected and fixed?

CVE-2025-8869 is a link following (a symlink lets an attacker reach other files) vulnerability in Python Packaging Authority pip. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: pip before 25.3 (GitHub advisory GHSA-4xh5-x5gv-qwph). Fixed in 25.3 (GitHub advisory GHSA-4xh5-x5gv-qwph). Severity: Medium (5.9, CVSS 4.0, from PSF).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:17 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 13:38 UTC
Affected
pip before 25.3
GitHub advisory GHSA-4xh5-x5gv-qwph
Fixed in
25.3
GitHub advisory GHSA-4xh5-x5gv-qwph
Severity
Medium 5.9
CVSS 4.0 from PSF
Exploit odds (EPSS)
0.51% in 30 days
higher than 45% of CVEs; FIRST, December 2, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2025-8869?

Fallback tar extraction in pip 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 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.

From the CVE record by PSF, last updated November 3, 2025, 17:45 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
Python Packaging Authoritypipbefore 25.325.3

As the CVE record by PSF states it, last updated November 3, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
PyPIpip< 25.325.3GHSA-4xh5-x5gv-qwph

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 19, 2025. Summary: pip's fallback tar extraction doesn't check symbolic links point to extraction directory.

How severe is CVE-2025-8869?

ScoreVersionVectorSource
Medium 5.9CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NPSF

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2025-8869 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 16, 2025)
EPSS
0.51% probability of exploitation activity in the next 30 days, percentile 45.2 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
August 11, 2025
Published
September 24, 2025, 14:56 UTC
CVE record updated
November 3, 2025, 17:45 UTC by PSF
NVD
Deferred, last modified September 26, 2026, 00:10 UTC
Last checked
CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:17 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect pip?

Every CVE in pip

Questions about CVE-2025-8869

Is CVE-2025-8869 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.51% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Python Packaging Authority pip are affected by CVE-2025-8869?

pip before 25.3, per the GitHub advisory GHSA-4xh5-x5gv-qwph. The tables above give every range the sources list.

Which version fixes CVE-2025-8869?

25.3, per the GitHub advisory GHSA-4xh5-x5gv-qwph. Check the vendor's advisory before you rely on it.

How severe is CVE-2025-8869?

Medium (5.9, CVSS 4.0, from PSF). The severity table above shows each score with its source.

Where is the official record of CVE-2025-8869?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.