5.9

CVE-2025-8869: Fallback tar extraction in pip doesn't check symbolic links point to extraction directory

Deferred
AliasesGHSA-4xh5-x5gv-qwphPYSEC-2026-1795UBUNTU-CVE-2025-8869
Published 24-09-2025Last modified 03-11-2025

Vulnerability summary

CVE-2025-8869 is a medium (CVSS 5.9) vulnerability in python packaging authority pip. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 42.3% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.9/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.49%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 5

Timeline

  1. 24-09-2025
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.49%

Chance of exploitation in the next 30 days

Percentile

42%

Versus all other CVEs

30-day change

Increase +0.02 pp

From 0.47% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard44 products
  • airflow-2< 2.11.2-r5
  • airflow-2-bitnami-compat< 2.11.0-r14
  • airflow-2-compat< 2.11.0-r14
  • airflow-2-iamguarded-compat< 2.11.0-r14
  • airflow-3-bitnami-compatAll versions (No fix recorded)
Wolfi23 products
  • airflow-3-bitnami-compatAll versions (No fix recorded)
  • mlflow< 3.6.0-r0
  • mlflow-iamguarded-compat< 3.6.0-r0
  • py3-cassandra-medusa< 0.26.0-r0 | < 0.29.0-r4 | < 0.27.0-r0
  • py3-pip< 25.2-r2
Debian1 product
  • python-pipAll versions (No fix recorded) | < 25.3+dfsg-1
PyPI1 product
  • pip< 25.3
Python packaging authority1 product
Ubuntu1 product
  • python-pipAll versions (No fix recorded)

6 vendors · 71 products

References

14 links
Show all 14 references