PT-2025-23609

CVE-2025-4330

·

Published

2025-06-03

·

Updated

2026-10-06

Description by

CVSS 2.0
7.8
High
MetricsAV:N/AC:L/Au:N/C:N/I:C/A:N
Name of the Vulnerable Software and Affected Versions Python versions 3.12 and later
Description The issue allows the extraction filter to be ignored, enabling symlink targets to point outside the destination directory and the modification of some file metadata. This affects users who utilize the tarfile module to extract untrusted tar archives using TarFile.extractall() or TarFile.extract() with the filter parameter set to "data" or "tar". For Python 3.14 and later, the default filter value changed to "data", which also affects usage relying on this new default behavior. The installation of source distributions, which are tar archives, is not significantly affected as they already allow arbitrary code execution during the build process.
Recommendations For Python versions 3.12 and later, consider updating to a version where this issue is fixed, although the specific fixed version is not provided. As a temporary workaround, avoid using the filter parameter with values of "data" or "tar" when extracting untrusted tar archives with TarFile.extractall() or TarFile.extract() until a patch is available. Restrict access to untrusted tar archives to minimize the risk of exploitation.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
ALSA-2025:10026
ALSA-2025:10031
ALSA-2025:10128
ALSA-2025:10136
ALSA-2025:10140
ALSA-2025:10148
ALSA-2025:10189
ALSA-2025:23530
AZL-62313
BIT-LIBPYTHON-2025-4330
BIT-PYTHON-2025-4330
BIT-PYTHON-MIN-2025-4330
CESA-2025_10026
CESA-2025_10031
CESA-2025_10128
CLEANSTART-2026-CI66802
CLEANSTART-2026-KM27583
CLEANSTART-2026-OH23140
CLEANSTART-2026-SP91806
CLEANSTART-2026-XR78310
CLEANSTART-2026-YB84757
ECHO-530E-E36D-F428
INFSA-2025_10026
INFSA-2025_10031
INFSA-2025_10128
INFSA-2025_10136
INFSA-2025_10148
INFSA-2025_10189
MGASA-2025-0280
OESA-2025-1789
OESA-2025-1790
OESA-2025-1791
OESA-2025-2304
OESA-2025-2305
OESA-2025-2538
OPENSUSE-SU-2025:15285-1
OPENSUSE-SU-2025:15286-1
OPENSUSE-SU-2025:15287-1
OPENSUSE-SU-2025:15288-1
OPENSUSE-SU-2025:15290-1
PSF-2025-7
RHSA-2025:10026
RHSA-2025_10026
RHSA-2025:10028
RHSA-2025:10031
RHSA-2025_10031
RHSA-2025:10128
RHSA-2025_10128
RHSA-2025:10136
RHSA-2025_10136
RHSA-2025:10140
RHSA-2025:10148
RHSA-2025_10148
RHSA-2025:10189
RHSA-2025_10189
RHSA-2025:10399
RHSA-2025:10484
RHSA-2025:10602
RHSA-2025:9918
RHSA-2026:38017
RHSA-2026:38090
RHSA-2026:38091
SUSE-SU-2025:02047-1
SUSE-SU-2025_02047-1
SUSE-SU-2025:02048-1
SUSE-SU-2025:02049-1
SUSE-SU-2025_02049-1
SUSE-SU-2025:02050-1
SUSE-SU-2025_02050-1
SUSE-SU-2025:02057-1
SUSE-SU-2025_02057-1
SUSE-SU-2025:02074-1
SUSE-SU-2025:02297-1
SUSE-SU-2025_02297-1
SUSE-SU-2025:02427-1
SUSE-SU-2025:02778-1
SUSE-SU-2025_02778-1
SUSE-SU-2025:20492-1
SUSE-SU-2025:20539-1
SUSE-SU-2026:0210-1
SUSE-SU-2026:23743-1
SUSE-SU-2026:4534-1
USN-7583-1
Found an issue in the description? Have something to add? Feel free to write us 👾