CVE-2025-4435Published Jun 3, 2025 · Jun 3Updated Nov 10
Tarfile extracts filtered members when errorlevel=0
Python Software Foundation CPython
High7.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Python Software Foundation CPython |
| No fix yet |
Original description
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.