shutil.unpack_archive() doesn't check for Windows absolute paths in ZIPs
En bref
Sévérité
MEDIUM 6.0
EPSS
EPSS 0.55 % · centile 46 (2026-10-27)
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
PSF
Statut NVD
Modified
Description
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.