Skip to content
Sign in
CVE-2025-43307.5HighCWE-22

CVE-2025-4330: Extraction filter bypass for linking outside extraction directory

Python Software Foundation · CPython

Vendor fix available · Affected: Python Software Foundation CPython · Exploitation: unlikely (under 1%)

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

1.0%probability of exploitation in the next 30 days
62nd percentile
050100

Higher than 62% of scored CVEs

7.5HighCVSS 3.1
LowHigh

DescriptionCVE.org

Allows the extraction filter to be ignored, allowing symlink targets to point outside the destination directory, and the modification of some file metadata. You are affected by this vulnerability if using the tarfile module to extract untrusted tar archives using TarFile.extractall() or TarFile.extract() using the filter= parameter with a value of "data" or "tar". See the tarfile extraction filters documentation https://docs.python.org/3/library/tarfile.html#tarfile-extraction-filter for more information. Note that for Python 3.14 or later the default value of filter= changed from "no filtering" to `"data", so if you are relying on this new default behavior then your usage is also affected. Note that none of these vulnerabilities significantly affect the installation of source distributions which are tar archives as source distributions already allow arbitrary code execution during the build process. However when evaluating source distributions it's important to avoid installing source distributions with suspicious links.

Affected products1

From the CVE record. A product or version that is not listed is unknown, not unaffected.

  • Python Software Foundation · CPythonbefore 3.9.23; from 3.10.0 before 3.10.18; from 3.11.0 before 3.11.13; from 3.12.0 before 3.12.11; from 3.13.0 before 3.13.4; from 3.14.0a1 before 3.14.0b3

On the Atlas

Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.

Open the Atlas
Exploitation
Unlikely (under 1%). EPSS under 1%, or no score yet.
CISA KEV
Not listed
Public check
No public nuclei template
Published
June 2025

CoverageNo articles yet

No CyberSIXT article names CVE-2025-4330 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.

References

Updated AboutDevelopersSign in