← back
CVE-2026-3087mediumCWE-22

shutil.unpack_archive() doesn't check for Windows absolute paths in ZIPs

13Vexday Risk Score

No sign of exploitation. No public exploitation artifact known so far.

ssvc Trackcvss 6epss 0.6%
exploitation probability
0.6%top 55% of all CVEs
observed exploitation
nono source reports it
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.
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N