CVE-2025-4435 HIGH

CVE-2025-4435: Tarfile extracts filtered members when errorlevel=0

Vendor Python Software Foundation
Product CPython
Published June 3, 2025
Last update April 21, 2026

CVSS base score

7.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

June 3, 2025 CVE published
April 21, 2026 Record updated