Read the docs
TI-2025-08119 Aliases CVE-2025-8869GHSA-4xh5-x5gv-qwph

Fallback tar extraction in pip doesn't check symbolic links point to extraction directory

Priority LOW 27CWE-59Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Active
Attack complexity
Low
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
None · High · None
Fix status
Partial Red Hat: 1 fixed, 20 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00493 42nd percentileScored 2026-11-07
Fix Partial pip (Python Packaging Authority): 25.3pip (PyPI): 25.3Red Hat: 5 advisoriesRed Hat: 1 fixed, 20 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Python Packaging Authoritypipbefore 25.325.3Patch availableCNA
—pip (PyPI)before 25.325.3Patch availableGHSA-4xh5-x5gv-qwph
  • pip VendorPython Packaging Authority Affected before 25.3 Fixed in 25.3 Patch available CNA
  • pip (PyPI) Vendor— Affected before 25.3 Fixed in 25.3 Patch available GHSA-4xh5-x5gv-qwph

Remediation

  • Fix · CNA pip (Python Packaging Authority) Fixed in 25.3
  • Fix · GHSA-4xh5-x5gv-qwph pip (PyPI) Fixed in 25.3 Advisory →

Red Hat 5 advisories

  • RHSA-2026:94476 Released 2026-11-03 · Red Hat rating Critical
    Red Hat AI Base Images 3.0.8 (CUDA)
    • Red Hat OpenShift AI 3.0 registry.redhat.io/rhai/base-image-cuda-rhel9
  • RHSA-2026:94459 Released 2026-11-03 · Red Hat rating Critical
    Red Hat AI Base Images 3.0.8 (CPU)
    • Red Hat OpenShift AI 3.0 registry.redhat.io/rhai/base-image-cpu-rhel9
  • RHSA-2026:91236 Released 2026-10-27 · Red Hat rating Critical
    Red Hat AI Base Images 3.0.7 (CUDA)
    • Red Hat OpenShift AI 3.0 registry.redhat.io/rhai/base-image-cuda-rhel9
Show 2 more Red Hat advisories
  • RHSA-2026:91232 Released 2026-10-27 · Red Hat rating Critical
    Red Hat AI Base Images 3.0.7 (CPU)
    • Red Hat OpenShift AI 3.0 registry.redhat.io/rhai/base-image-cpu-rhel9
  • RHSA-2026:91219 Released 2026-10-27 · Red Hat rating Critical
    Red Hat AI Base Images 3.0.7 (ROCm)
    • Red Hat OpenShift AI 3.0 registry.redhat.io/rhai/base-image-rocm-rhel9

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Migration Toolkit for VirtualizationAffectedNo fix yet: Fix deferred
OpenShift LightspeedAffectedNo fix yet: Fix deferred
OpenShift Service Mesh 3AffectedNo fix yet: Fix deferred
Red Hat AI Inference ServerAffectedNo fix yet: Fix deferred
Red Hat Ansible Automation Platform 2AffectedNo fix yet: Fix deferred
Red Hat Ansible Automation Platform Ansible Core 2AffectedNo fix yet: Fix deferred
Red Hat Developer Hub 1AffectedNo fix yet: Fix deferred
Red Hat Discovery 2AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux AI (RHEL AI)AffectedNo fix yet: Fix deferred
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 4AffectedNo fix yet: Fix deferred
Red Hat OpenShift Dev SpacesAffectedNo fix yet: Fix deferred
Red Hat OpenShift GitOpsAffectedNo fix yet: Fix deferred
Red Hat Quay 3AffectedNo fix yet: Fix deferred
Red Hat Satellite 6AffectedNo fix yet: Fix deferred
Red Hat Trusted Artifact SignerAffectedNo fix yet: Fix deferred
Service Telemetry Framework 1.5AffectedNo fix yet: Fix deferred
Red Hat OpenShift AI 3.0Fixed RHSA-2026:91219, RHSA-2026:91232, RHSA-2026:91236, RHSA-2026:94459, RHSA-2026:94476

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-8869
  2. 2026-10-03 Alias added: GHSA-4xh5-x5gv-qwph
  3. 2026-10-27 Affected versions changed · Red Hat
  4. 2026-10-30 Fix available: RHSA-2026:91219 · Red Hat
  5. 2026-10-30 Fix available: RHSA-2026:91232 · Red Hat
  6. 2026-10-30 Fix available: RHSA-2026:91236 · Red Hat
  7. 2026-10-30 Fix available: Red Hat OpenShift AI 3.0 · Red Hat
  8. 2026-11-03 Fix available: RHSA-2026:94459 · Red Hat
  9. 2026-11-03 Affected versions changed · Red Hat
  10. 2026-11-04 Fix available: RHSA-2026:94476 · Red Hat
  11. 2026-11-04 Affected versions changed · Red Hat

References

  • TI-2026-02782 pip doesn't reject concatenated ZIP and tar archives CVSS 4.0MEDIUM 4.6
  • TI-2026-01386 Limited path traversal when installing wheel archives CVSS 4.0LOW 2.0

Sources