
CVE catalog
CVE-2025-8869
python-pip: CVE-2025-8869
- Severity
- Medium · CVSS 5.9
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.47% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-pip | sid | 26.2.2+dfsg-1 | fixed |
| Debian | python-pip | forky | 26.2.2+dfsg-1 | fixed |
| Debian | python-pip | trixie | 25.1.1+dfsg-1 | vulnerable |
| Debian | python-pip | bookworm | 23.0.1+dfsg-1 | vulnerable |
| PyPI | pip | Not reported | 25.3 | fixed |
| Ubuntu | python-pip | pro | 18.1-5 | vulnerable |
| Ubuntu | python-pip | pro | 18.1-5build1 | vulnerable |
| Ubuntu | python-pip | pro | 18.1-5ubuntu1 | vulnerable |
| Ubuntu | python-pip | pro | 20.0.2-2 | vulnerable |
| Ubuntu | python-pip | pro | 20.0.2-4 | vulnerable |
| Ubuntu | python-pip | pro | 20.0.2-5 | vulnerable |
| Ubuntu | python-pip | pro | 20.0.2-5ubuntu1 | vulnerable |
| Ubuntu | python-pip | pro | 20.0.2-5ubuntu1.1 | vulnerable |
| Ubuntu | python-pip | pro | 20.0.2-5ubuntu1.3 | vulnerable |
| Ubuntu | python-pip | pro | 20.0.2-5ubuntu1.4 | vulnerable |
| Ubuntu | python-pip | pro | 20.0.2-5ubuntu1.5 | vulnerable |
| Ubuntu | python-pip | pro | 20.0.2-5ubuntu1.6 | vulnerable |
| Ubuntu | python-pip | pro | 20.0.2-5ubuntu1.7 | vulnerable |
| Ubuntu | python-pip | pro | 20.0.2-5ubuntu1.8 | vulnerable |
| Ubuntu | python-pip | pro | 20.0.2-5ubuntu1.9 | vulnerable |
| Ubuntu | python-pip | pro | 20.0.2-5ubuntu1.10 | vulnerable |
| Ubuntu | python-pip | pro | 20.0.2-5ubuntu1.10+esm2 | vulnerable |
| Ubuntu | python-pip | pro | 20.0.2-5ubuntu1.11 | vulnerable |
| Ubuntu | python-pip | pro | 20.0.2-5ubuntu1.11+esm2 | vulnerable |
| Ubuntu | python-pip | pro | 20.0.2-5ubuntu1.11+esm3 | vulnerable |
| Ubuntu | python-pip | pro | 20.0.2-5ubuntu1.11+esm4 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-pip | source | sid | 25.3+dfsg-1 | not yet assigned | Not reported | [1116336] |
| Debian | python-pip | source | forky | 25.3+dfsg-1 | not yet assigned | Not reported | [1116336] |
| Debian | python-pip | source | trixie | (unfixed) | not yet assigned | Not reported | [1116336] |
| Debian | python-pip | source | bookworm | (unfixed) | not yet assigned | Not reported | [1116336] |
| PyPI | pip | PyPI | Not reported | 25.3 | Not reported | GHSA-4XH5-X5GV-QWPH | Not reported |
Notes
[trixie] python-pip: Minor issue [bookworm] python-pip: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-pip]Affected
Source package: [python-pip]
Details (2)
23.0.1+dfsg-1· all · bookwormAffected
dsa · python-pip · debian · bookworm; dsa · python-pip · debian · 12
23.0.1+dfsg-1· all · bookwormAffected
dsa · python-pip · debian · bookworm; dsa · python-pip · debian · 12
- [python3-pip-whl]Affected
Source package: [python-pip]
Details (2)
23.0.1+dfsg-1· all · bookwormAffected
dsa · python-pip · debian · bookworm; dsa · python-pip · debian · 12
23.0.1+dfsg-1· all · bookwormAffected
dsa · python-pip · debian · bookworm; dsa · python-pip · debian · 12
[Debian 13 (Trixie)]
- [python3-pip]Affected
Source package: [python-pip]
Details (2)
25.1.1+dfsg-1· all · trixieAffected
dsa · python-pip · debian · 13
25.1.1+dfsg-1· all · trixieAffected
dsa · python-pip · debian · 13
- [python3-pip-whl]Affected
Source package: [python-pip]
Details (2)
25.1.1+dfsg-1· all · trixieAffected
dsa · python-pip · debian · 13
25.1.1+dfsg-1· all · trixieAffected
dsa · python-pip · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/]
- [https://nvd.nist.gov/vuln/detail/CVE-2025-8869]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-8869]
- [https://osv.dev/vulnerability/GHSA-4xh5-x5gv-qwph]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-8869]
- [https://security-tracker.debian.org/tracker/CVE-2025-8869]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-8869.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1210.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]