CVE-2026-3087
shutil.unpack_archive() doesn't check for Windows absolute paths in ZIPs
EPSS 0.11%
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.
How to fix CVE-2026-3087
To remediate CVE-2026-3087, upgrade the affected package to a fixed version below.
- Bitnami/libpython—upgrade to 3.14.5 or later
- Bitnami/python—upgrade to 3.14.5 or later
- —upgrade to 3.14.5 or later
Is CVE-2026-3087 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 3.14.5
- from 0, < 3.14.5
- from 0, < 3.14.5
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
References (12)
- WEBgithub.com/python/cpython/commit/65b255416ae217bf0e22085be3c1976cea18bd8c
- WEBgithub.com/python/cpython/commit/8e13025747e1ca72e86d1f35637123f9c306f0cb
- WEBgithub.com/python/cpython/commit/8ee6aff14054b37b53e47194a2fa313e98163c94
- WEBgithub.com/python/cpython/commit/ab5ef98af693bded74a738570e81ea70abef2840