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.
Metrics
Affected Vendors & Products
References
History
Mon, 27 Apr 2026 21:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | shutil.unpack_archive() doesn't check for Windows absolute paths in ZIPs | |
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
cvssV4_0
|
Status: PUBLISHED
Assigner: PSF
Published:
Updated: 2026-04-27T20:50:34.895Z
Reserved: 2026-02-23T23:14:46.433Z
Link: CVE-2026-3087
No data.
Status : Received
Published: 2026-04-27T21:16:42.480
Modified: 2026-04-27T21:16:42.480
Link: CVE-2026-3087
No data.
OpenCVE Enrichment
No data.