When using a TarFile.errorlevel = 0 and extracting with a filter the documented behavior is that any filtered members would be skipped and not extracted. However the actual behavior of TarFile.errorlevel = 0 in affected versions is that the member would still be extracted and not skipped.
CVE ID: CVE-2025-4435
CVSS Base Severity: HIGH
CVSS Base Score: 7.5
CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Vendor: Python Software Foundation
Product: CPython
EPSS Score: 0.05% (probability of being exploited)
EPSS Percentile: 13.45% (scored less or equal to compared to others)
EPSS Date: 2025-06-07 (when was this score calculated)