[CVE-2026-3087] shutil.unpack_archive() doesn't check for Windows absolute paths in ZIPs
April 27, 2026
1:48 p.m.
There is a MEDIUM severity vulnerability affecting CPython.
If shutil.unpack_archive() is given a ZIP archive with an absolute
Windows path containing a drive (C:\\...) then the archive will be
extracted outside the target directory which is different than other
operating systems. Only Windows is affected by this vulnerability.
Please see the linked CVE ID for the latest information on affected versions:
47
Age (days ago)
47
Last active (days ago)
0 comments
1 participants
participants (1)
-
Seth Larson