Home/CVE/Allows arbitrary filesystem writes outside the extraction directory during extraction with filter="data". You are affe
CVE

CVE-2025-4517

Allows arbitrary filesystem writes outside the extraction directory during extraction with filter="data". You are affe

Allows arbitrary filesystem writes outside the extraction directory during extraction with filter="data". 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.

CRITICAL · CVSS 9.4 EPSS 0.00403
Act now
  • Public exploit or PoC is available
  • SSVC automatable: yes - attacks can be scripted at scale
  • CVSS base score ≥ 7.0
Sigma rules0 YARA rules0
Look this up elsewhere - one-click external pivots
How to read a CVE - triage first, then detect and patch
This page is every public fact about CVE-2025-4517, cross-linked. Its job is to answer one question fast - does this need my attention now? - and then hand you the two things you do about it. Here is how an analyst reads it.
Triage: should I act now? Four signals, and they are not interchangeable:
CVSSseverity - how bad it is IF exploited, 0-10. A high CVSS alone is not urgency; a flaw can be a perfect 10 and never actually be attacked. EPSSprobability - a model’s estimate of the chance it is exploited in the next 30 days, 0-1. This is the “will it actually happen” signal. CISA KEVconfirmed - it is being exploited in the wild right now. The strongest signal on the page; KEV beats any score. Weaponisedavailability - public exploits / PoCs, and especially Metasploit modules rated Excellent / Great. Reliable, packaged exploit code means low-skill attackers can use it today.
How they combine: KEV, or a dependable Metasploit module, means patch now regardless of CVSS. High CVSS + low EPSS + no exploit is real but not an emergency - schedule it. Low CVSS but KEV-listed still gets patched now. The verdict above already weighed these for you; this is how it got there.
Then what - two workflows:
Detectwhen you cannot patch today, follow this CVE to the ATT&CK techniques it enables, then Build a SIEM detection (the green button) - author a rule, test it in Atomic, deploy it. That buys visibility while the patch waits. PatchAffected products / packages tell you if you are exposed; Fixed versions by distribution and Vendor advisories give the exact version that closes it.
Reading order for the panels below: verdict + badges, then Public exploits / Metasploit (is it weaponised), then ATT&CK techniques + Sigma / IDS rules (can I detect it), then Affected products / packages + Fixed versions (am I exposed, what patches it), then Threat actors / IOCs (who uses it), then Scoring & timeline / references (the evidence).

ATT&CK techniques

1

Techniques this CVE enables - linked via CWECAPECATT&CK. High◆ = named directly in ATT&CK or Nuclei templates.

▤ Build a SIEM detection for these techniques
📦

Fixed versions by distribution

80
The package version that resolves this CVE on each Linux distribution, from the vendor’s published security data. fixed in shows a patched version exists; open means the package is listed as affected with no fix yet.
alpine edgepython3 fixed in 3.12.11-r0
alpine edgepython3-tkinter fixed in 3.12.11-r0
alpine v3.19python3 fixed in 3.11.13-r0
alpine v3.20python3 fixed in 3.12.11-r0
alpine v3.20python3-tkinter fixed in 3.12.11-r0
oracle allplatform-python fixed in 0:3.6.8-70.0.1.el8_10
oracle allplatform-python-debug fixed in 0:3.6.8-70.0.1.el8_10
oracle allplatform-python-devel open
oracle allpython-unversioned-command fixed in 0:3.9.21-2.el9_6.1
oracle allpython3 open
oracle allpython3-debug fixed in 0:3.9.21-2.el9_6.1
oracle allpython3-devel open
oracle allpython3-idle fixed in 0:3.9.21-2.el9_6.1
oracle allpython3-libs fixed in 0:3.9.21-2.el9_6.1
oracle allpython3-test open
oracle allpython3-tkinter fixed in 0:3.9.21-2.el9_6.1
oracle allpython3.11 open
oracle allpython3.11-debug open
oracle allpython3.11-devel open
oracle allpython3.11-idle open
oracle allpython3.11-libs fixed in 0:3.11.13-1.0.1.el8_10
oracle allpython3.11-rpm-macros open
oracle allpython3.11-test open
oracle allpython3.11-tkinter open
oracle allpython3.12 open
oracle allpython3.12-debug fixed in 0:3.12.11-1.el8_10
oracle allpython3.12-devel fixed in 0:3.12.11-1.el8_10
oracle allpython3.12-idle fixed in 0:3.12.11-1.el8_10
oracle allpython3.12-libs fixed in 0:3.12.11-1.el8_10
oracle allpython3.12-rpm-macros fixed in 0:3.12.11-1.el8_10
oracle allpython3.12-test open
oracle allpython3.12-tkinter fixed in 0:3.12.11-1.el8_10
oracle allpython39 fixed in 0:3.9.25-2.module+el8.10.0+90733+27f37730
oracle allpython39-Cython fixed in 0:0.29.21-5.module+el8.9.0+90016+9c2d6573
oracle allpython39-PyMySQL open
oracle allpython39-attrs fixed in 0:20.3.0-2.module+el8.9.0+90016+9c2d6573
oracle allpython39-cffi open
oracle allpython39-chardet fixed in 0:3.0.4-19.module+el8.9.0+90016+9c2d6573
oracle allpython39-cryptography fixed in 0:3.3.1-3.0.1.module+el8.10.0+90269+2fa22b99
oracle allpython39-debug open
oracle allpython39-devel fixed in 0:3.9.25-2.module+el8.10.0+90733+27f37730
oracle allpython39-idle open
oracle allpython39-idna open
oracle allpython39-iniconfig open
oracle allpython39-libs fixed in 0:3.9.25-2.module+el8.10.0+90733+27f37730
oracle allpython39-lxml open
oracle allpython39-mod_wsgi open
oracle allpython39-more-itertools fixed in 0:8.5.0-2.module+el8.9.0+90016+9c2d6573
oracle allpython39-numpy fixed in 0:1.19.4-3.module+el8.9.0+90016+9c2d6573
oracle allpython39-numpy-f2py open
oracle allpython39-packaging fixed in 0:20.4-4.module+el8.9.0+90016+9c2d6573
oracle allpython39-pip fixed in 0:20.2.4-9.module+el8.10.0+90269+2fa22b99
oracle allpython39-pip-wheel open
oracle allpython39-pluggy open
oracle allpython39-ply open
oracle allpython39-psutil open
oracle allpython39-psycopg2 open
oracle allpython39-psycopg2-tests open
oracle allpython39-py fixed in 0:1.10.0-1.module+el8.9.0+90016+9c2d6573
oracle allpython39-pybind11 fixed in 0:2.7.1-1.module+el8.9.0+90016+9c2d6573
oracle allpython39-pybind11-devel fixed in 0:2.7.1-1.module+el8.9.0+90016+9c2d6573
oracle allpython39-pycparser open
oracle allpython39-pyparsing fixed in 0:2.4.7-5.module+el8.9.0+90016+9c2d6573
oracle allpython39-pysocks fixed in 0:1.7.1-4.module+el8.9.0+90016+9c2d6573
oracle allpython39-pytest open
oracle allpython39-pyyaml open
oracle allpython39-requests open
oracle allpython39-rpm-macros fixed in 0:3.9.25-2.module+el8.10.0+90733+27f37730
oracle allpython39-scipy fixed in 0:1.5.4-5.module+el8.9.0+90016+9c2d6573
oracle allpython39-setuptools open
oracle allpython39-setuptools-wheel fixed in 0:50.3.2-7.module+el8.10.0+90647+49247197
oracle allpython39-six fixed in 0:1.15.0-3.module+el8.9.0+90016+9c2d6573
oracle allpython39-test open
oracle allpython39-tkinter open
oracle allpython39-toml fixed in 0:0.10.1-5.module+el8.9.0+90016+9c2d6573
oracle allpython39-urllib3 open
oracle allpython39-wcwidth fixed in 0:0.2.5-3.module+el8.9.0+90016+9c2d6573
oracle allpython39-wheel fixed in 1:0.35.1-4.module+el8.9.0+90016+9c2d6573
oracle allpython39-wheel-wheel open
rhel 8platform-python open

Scoring & Timeline

9.4
CRITICAL · CVSS v3.1 · [email protected]
View on NVD
Attack Vector
Network Adjacent Local Physical
Attack Complexity
Low High
Privileges Required
None Low High
User Interaction
None Required
Scope
Unchanged Changed
Confidentiality
None Low High
Integrity
None Low High
Availability
None Low High
Published to NVD03 Jun 2025 · 01:15 PM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
SSVC triage · cisa-vulnrichment
Exploitation
none
Automatable
yes
Technical impact
total
SSVC asks the questions that actually drive patch urgency: is it being exploited, can attacks be automated, and how total is the impact.

Vendor Advisories

30
siemens-csafSSA-089022
suse-csafSUSE-SU-2026:0210-1
rhsaRHSA-2026:0934Important
SOC and Response
CVE triage
Stack monitoring
Am I affected
IOC triage
KEV catalog
Daily brief
Change tracking
Detection Engineering
Coverage workspace
Detection coverage
Coverage check
Telemetry ceiling
SIEM query builder
Sigma rules
SIEM rules
YARA rules
Network rules
D3FEND
Threat Hunting
Threat actors
ATT&CK techniques
Attack paths
Indicators
Atomic tests
Red Team and Pentest
Exploitability triage
Recon pack
Attack paths
CAPEC patterns
Adversary emulation
Compliance and GRC
Framework mapping
Control assessment
Audit view
Coverage report
Atlas Search Threat actors Techniques Tools & malware CWE CAPEC KEV catalog Package vulns TAXII feed Data sources
About All capabilities Pricing API docs Live statistics Live status Privacy policy Terms of service
threatengine.sh