CVE-2026-3087
highpriority · track · 30EPSS 0.007 · 54 %ileEUUSEPSS · scored 2026-10-22
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–high · 2.3–7.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (23)
Products and version ranges known to be affected.
advisories (4)
Vendor and ecosystem advisories describing this.
- BIT-libpython-2026-3087shutil.unpack_archive() doesn't check for Windows absolute paths in ZIPs2026-08-19vendor · osvUS
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.
- BIT-python-2026-3087shutil.unpack_archive() doesn't check for Windows absolute paths in ZIPs2026-08-19vendor · osvUS
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.
- BIT-python-min-2026-3087shutil.unpack_archive() doesn't check for Windows absolute paths in ZIPs2026-08-19vendor · osvUS
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.
- PSF-2026-222026-04-27vendor · osvUS
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.
also known as (7)
Other names and identifiers for this entity.
- CNNVD-202604-5156cnnvd
- EUVD-2026-25922enisa_euvd
- GHSA-7r27-jhmm-vmp6enisa_euvd
- BIT-libpython-2026-3087osv
- BIT-python-2026-3087osv
- BIT-python-min-2026-3087osv
- PSF-2026-22osv
sources
Which sources assert this record, and when.
references (30)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2026-3087cnnvd
- https://github.com/python/cpythonPatchcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2026-3087cnnvd
- https://github.com/python/cpython/commit/1071290169f85c09cf767c1099564a9426cdc7e8enisa_euvd
- https://github.com/python/cpython/commit/65b255416ae217bf0e22085be3c1976cea18bd8cenisa_euvd
- https://github.com/python/cpython/commit/7ef7dd0a74f47facd1fadcbc77f8fb03beb5eb4denisa_euvd
- https://github.com/python/cpython/commit/8e13025747e1ca72e86d1f35637123f9c306f0cbenisa_euvd
- https://github.com/python/cpython/commit/8ee6aff14054b37b53e47194a2fa313e98163c94enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan