PoC Monitor
← All CVEs
CVE-2026-3087published 27 Apr 2026 20:46 UTCData: JSON · API

Python Software Foundation CPython

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by NVD · CWE-22
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Python Software Foundation CPython
  • < 3.10.21
  • >= 3.11.0, < 3.11.16
  • >= 3.12.0, < 3.12.14
  • >= 3.13.0, < 3.13.14
  • >= 3.14.0a1, < 3.14.5rc1
  • >= 3.15.0a1, < 3.15.0b1

Fixed in 3.10.21, 3.11.16, 3.12.14, 3.13.14, 3.14.5rc1, 3.15.0b1

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published27 Apr 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.