CVE-2025-8869
Python vulnerability analysis and mitigation

Overview

CVE-2025-8869 affects pip's tar archive extraction functionality when used with Python versions that don't implement PEP 706. The vulnerability was discovered and disclosed on September 24, 2025, impacting pip's fallback implementation of tar extraction. The issue occurs when extracting tar archives where pip may not properly verify if symbolic links point to the intended extraction directory (Python Security).

Technical details

The vulnerability exists in pip's fallback implementation for handling tar extraction on Python versions without PEP 706 support. When extracting a tar archive, the system may fail to validate whether symbolic links point to locations within the extraction directory. The issue has been assigned a CVSS v4.0 Base Score of 5.9 (MEDIUM) with the vector string 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 (NVD Database).

Impact

If exploited, this vulnerability could allow an attacker to create malicious symbolic links in tar archives that point to locations outside the intended extraction directory. This could potentially lead to file system traversal and unauthorized file access or modification during the package installation process (Python Security).

Mitigation and workarounds

Several mitigation options are available: 1) Upgrade to a version of pip that includes the fix, 2) Upgrade to a Python version that implements PEP 706 (Python >=3.9.17, >=3.10.12, >=3.11.4, or >=3.12), 3) Apply the patch provided in the GitHub pull request, or 4) Follow the best practice of inspecting source distributions before installation (Python Security).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-5882-5rx9-xgxpCRITICAL10
  • PythonPython
  • crawl4ai
NoYesJan 16, 2026
GHSA-vx9w-5cx4-9796HIGH8.6
  • PythonPython
  • crawl4ai
NoYesJan 16, 2026
CVE-2026-23535HIGH8
  • PythonPython
  • wlc
NoYesJan 16, 2026
CVE-2026-23490HIGH7.5
  • PythonPython
  • pyasn1
NoYesJan 16, 2026
CVE-2026-23528MEDIUM5.3
  • PythonPython
  • distributed
NoYesJan 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management