{"id":"BIT-python-min-2026-3087","summary":"shutil.unpack_archive() doesn't check for Windows absolute paths in ZIPs","details":"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.","aliases":["BIT-libpython-2026-3087","BIT-python-2026-3087","CVE-2026-3087","PSF-2026-22"],"modified":"2026-04-30T09:15:14.085963Z","published":"2026-04-29T11:50:18.934Z","database_specific":{"severity":"Medium","cpes":["cpe:2.3:a:python:python:*:*:*:*:*:*:*:*"]},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/04/28/9"},{"type":"WEB","url":"https://github.com/python/cpython/issues/146581"},{"type":"WEB","url":"https://github.com/python/cpython/pull/146591"},{"type":"WEB","url":"https://mail.python.org/archives/list/security-announce@python.org/thread/X6FXE5C6KDKOVNX3EC3DWD5RUPFWOZA4/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-3087"},{"type":"WEB","url":"https://github.com/python/cpython/commit/ab5ef98af693bded74a738570e81ea70abef2840"},{"type":"WEB","url":"https://github.com/python/cpython/commit/b01e594fbe754a960212f908d047294e880b52fd"},{"type":"WEB","url":"https://github.com/python/cpython/commit/fc829e88753858c8ac669594bf0093f44948c0f4"}],"affected":[{"package":{"name":"python-min","ecosystem":"Bitnami","purl":"pkg:bitnami/python-min"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/python-min/BIT-python-min-2026-3087.json"},"severity":[{"type":"CVSS_V4","score":"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"}]}],"schema_version":"1.7.5"}