VulnerabilityCVE-2025-4138WID-SEC-W-2025-1318:CVE-2025-4138WID-SEC-W-2025-1850:CVE-2025-4138
Bypassing extraction filter to create symlinks to arbitrary targets outside extraction directory
Not on CISA KEV
Summary
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
See the full record, free
- Every source, score and reference in one place
- Timeline and related records
- Watch an entry and get an alert when it changes
Sources and credits
- BSI CERT-Bund Source: BSI CERT-Bund
- CVE List Source: CVE Program (cve.org)
- PoC-in-GitHub Source: PoC-in-GitHub