cve.bz

CVE-2025-8869 python packaging authority pip

5.9 mediumEPSS 0.5%Fix available

Medium (5.9) in python packaging authority pip. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in pip 25.3.

On this page
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.

Severity

CVSS 4.0

5.9 medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-10-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-8869 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-8869?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-8869?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-8869 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Python Packaging Authority pipbefore 25.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4xh5-x5gv-qwphPyPIpip<25.325.3
PYSEC-2026-1795PyPIpip<25.325.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11python-pip20.3.4-4+deb11u2DLA-4348-1
Debian12, 13python-pipno fix listedDEBIAN-CVE-2025-8869
Debian14python-pip25.3+dfsg-1DEBIAN-CVE-2025-8869
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTS and 1 morepython-pipno fix listedUBUNTU-CVE-2025-8869
Azure Linux3python-pip24.2-4AZL-67788
Alpaquita23python33.11.4-r0BELL-CVE-2025-8869
BellSoft Hardened Containers23python33.11.4-r0BELL-CVE-2025-8869

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

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, source distributions (sdists) before installation as is already a best-practice.

ProductPackageStateAdvisory
Red Hat OpenShift AI 3.0rhai/base-image-rocm-rhel9:1793041981Fixed 2026-10-27RHSA-2026:91219
Red Hat OpenShift AI 3.0rhai/base-image-cpu-rhel9:1793042072Fixed 2026-10-27RHSA-2026:91232
Red Hat OpenShift AI 3.0rhai/base-image-cuda-rhel9:1793042067Fixed 2026-10-27RHSA-2026:91236
Red Hat OpenShift AI 3.0rhai/base-image-cpu-rhel9:1793329709Fixed 2026-11-03RHSA-2026:94459
Red Hat OpenShift AI 3.0rhai/base-image-cuda-rhel9:1793328358Fixed 2026-11-03RHSA-2026:94476
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-api-rhel9Fix deferred
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-controller-rhel9Fix deferred
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-must-gather-rhel8Fix deferred
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-openstack-populator-rhel9Fix deferred
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-ova-provider-server-rhel9Fix deferred
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-populator-controller-rhel9Fix deferred
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-rhel9-operatorFix deferred
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-rhv-populator-rhel8Fix deferred
Migration Toolkit for Virtualizationmtv-candidate/mtv-must-gather-rhel8Fix deferred
Migration Toolkit for Virtualizationmtv-candidate/mtv-openstack-populator-rhel9Fix deferred
Migration Toolkit for Virtualizationmtv-candidate/mtv-populator-controller-rhel9Fix deferred
Migration Toolkit for Virtualizationmtv-candidate/mtv-rhel9-operatorFix deferred
Migration Toolkit for Virtualizationmtv-candidate/mtv-rhv-populator-rhel8Fix deferred
Migration Toolkit for Virtualizationmtv-candidate/mtv-validation-rhel9Fix deferred
OpenShift Lightspeedopenshift-lightspeed/lightspeed-service-api-rhel9Fix deferred
90 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-8869.

References

Check your stackJSON