CVE-2026-3087

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.

Credits

Serhiy Storchaka (https://github.com/serhiy-storchaka)
Seth Larson (https://github.com/sethmlarson)
GGAutomaton (https://github.com/GGAutomaton)

References