Every CVE Search/ Get API key

CVE-2026-3087

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

6.0 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
High
Availability
None

Exploit likelihood

0.55%Up 0.5 points since Apr 28, 2026
90%50%10%1%

What each source reports

CVE List Score used 6.0

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

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.

Record
CVE-2026-3087
CVSS 4.0
6.0 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-22
Updated
2026-11-02
EUVDEUVD-2026-25922 6.0

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.

Record
EUVD-2026-25922
CVSS 4.0
6.0 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-7r27-jhmm-vmp6 6.0

If `shutil.unpack_archive()` is given a ZIP archive with an absolute Windows path containing a...

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.

Record
GHSA-7r27-jhmm-vmp6
CVSS 4.0
6.0 MediumCVSS: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
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-22
Updated
2026-11-02
NVD 6.0

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.

Record
CVE-2026-3087
CVSS 4.0
6.0 MediumCVSS: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
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-22
Updated
2026-11-02
OSV 6.0

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

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.

Record
CVE-2026-3087
CVSS 4.0
6.0 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-22
Updated
2026-11-04
OSVUBUNTU-CVE-2026-3087 6.0

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.

Record
UBUNTU-CVE-2026-3087
CVSS 4.0
6.0 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
Show 5 moreShow less
OSVAZL-85274 No score

CVE-2026-3087 affecting package python3 for versions less than 3.12.9-14

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.

Record
AZL-85274
Updated
2026-11-02
OSVBIT-libpython-2026-3087 No score

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

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.

Record
BIT-libpython-2026-3087
Updated
2026-11-02
OSVBIT-python-2026-3087 No score

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

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.

Record
BIT-python-2026-3087
Updated
2026-11-02
OSVBIT-python-min-2026-3087 No score

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

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.

Record
BIT-python-min-2026-3087
Updated
2026-11-02
OSVPSF-2026-22 No score

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.

Record
PSF-2026-22
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
python3
Azure Linux:3
before 3.12.9-14
3.12.9-14
libpython
Bitnami
before 3.10.21, 3.11.0 up to 3.11.16, 3.12.0 up to 3.12.14, 3.13.0 up to 3.13.14, 3.14.0 up to 3.14.5
3.10.213.11.163.12.143.13.143.14.5
python
Bitnami
before 3.10.21, 3.11.0 up to 3.11.16, 3.12.0 up to 3.12.14, 3.13.0 up to 3.13.14, 3.14.0 up to 3.14.5
3.10.213.11.163.12.143.13.143.14.5
python-min
Bitnami
before 3.10.21, 3.11.0 up to 3.11.16, 3.12.0 up to 3.12.14, 3.13.0 up to 3.13.14, 3.14.0 up to 3.14.5
3.10.213.11.163.12.143.13.143.14.5

History

History
RecordedChangedSources
factsOSV
affected
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-3087 is a medium vulnerability (CVSS 6.0) in Python, published April 27, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.55%, the 46th percentile. Fixed in python3 3.12.9-14.

References

Show 14 moreShow less
MoveEnter Open