CVE-2026-3087
shutil.unpack_archive() doesn't check for Windows absolute paths in ZIPs
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-22 |
| Vendor | python software foundation |
| Product | cpython |
| Published | Apr 27, 2026 |
| Last Updated | Apr 27, 2026 |
Stay Ahead of the Next One
Get instant alerts for python software foundation cpython
Be the first to know when new unknown vulnerabilities affecting python software foundation cpython are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Python Software Foundation / CPython
0
References
Credits
Serhiy Storchaka (https://github.com/serhiy-storchaka) Seth Larson (https://github.com/sethmlarson) ๐ GGAutomaton (https://github.com/GGAutomaton)