Technical impact
During tar extraction on Windows, the tarfile module accepted member names or link targets that lacked a root component but included a drive letter, such as "C:foo". The extraction logic wrote those entries to the working directory of that drive instead of the intended destination, while symbolic links could point outside the extraction sandbox. This flaw enabled an attacker controlling a tar archive to place or overwrite files outside the target directory, potentially compromising sensitive data or tampering with system files.
Affected Systems
Python CPython interpreters running on Windows that use the tarfile "tar" or "data" extraction filters. All versions before the fix in the Python 3 codebase (details not enumerated) are susceptible. The vulnerability affects any process that unpacks a tar file without additional path validation.
Risk and Exploitability
The CVSS score of 6.3 indicates moderate severity. No EPSS data are available and the issue is not listed in the CISA KEV catalog. Exploitation requires an attacker to supply a crafted tar archive, which can be delivered through email attachments, downloads, or other social engineering vectors. If the archive is processed by a user who has write permission to the host filesystem, the flaw can lead to arbitrary file creation or modification outside the intended extraction location, thereby exposing the system to data tampering or compromise.