BIT-libpython-2026-3087

vendorUSosv

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

view advisory published 2026-08-19Licence: per source

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.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2026-3087UShigh7.5—
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 whi…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan