MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-3087

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

Not on CISA KEVCVSS 6.0 (v4.0)
  • Overview

Summary

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.

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)