CVE-2026-3087

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

No CVSS.

Configurations

No configuration.

History

29 Apr 2026, 16:16

Type Values Removed Values Added
References
  • () https://github.com/python/cpython/commit/ab5ef98af693bded74a738570e81ea70abef2840 -
  • () https://github.com/python/cpython/commit/b01e594fbe754a960212f908d047294e880b52fd -
  • () https://github.com/python/cpython/commit/fc829e88753858c8ac669594bf0093f44948c0f4 -

28 Apr 2026, 06:16

Type Values Removed Values Added
References
  • () http://www.openwall.com/lists/oss-security/2026/04/28/9 -

27 Apr 2026, 21:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-27 21:16

Updated : 2026-04-29 16:16


NVD link : CVE-2026-3087

Mitre link : CVE-2026-3087

CVE.ORG link : CVE-2026-3087


JSON object : View

Products Affected

No product.

CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')