{"id":"DHI-sz45-rgxn-ecgj-gypu","summary":"If `shutil.unpack_archive()` is given a ZIP archive with an absolute Windows path containing a drive (`C:\\\\...`) then…","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.","modified":"2026-11-24T17:30:08.998780256Z","published":"2026-11-19T22:20:27Z","upstream":["CVE-2026-3087"],"database_specific":{"coverage":"partial","coverage_exclusions":["legacy_package_image_owner"]},"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-sz45-rgxn-ecgj-gypu"},{"type":"FIX","url":"https://github.com/python/cpython/pull/146591"},{"type":"FIX","url":"https://github.com/python/cpython/commit/fc829e88753858c8ac669594bf0093f44948c0f4"},{"type":"FIX","url":"https://github.com/python/cpython/commit/ba0aca3bffce431fe2fbd53ca4cd6a717a2e2c19"},{"type":"FIX","url":"https://github.com/python/cpython/commit/b01e594fbe754a960212f908d047294e880b52fd"},{"type":"FIX","url":"https://github.com/python/cpython/commit/ab5ef98af693bded74a738570e81ea70abef2840"},{"type":"FIX","url":"https://github.com/python/cpython/commit/a6650a2cdf0c49fb8ce0c982903aa2aa274beefe"},{"type":"FIX","url":"https://github.com/python/cpython/commit/8ee6aff14054b37b53e47194a2fa313e98163c94"},{"type":"FIX","url":"https://github.com/python/cpython/commit/8e13025747e1ca72e86d1f35637123f9c306f0cb"},{"type":"FIX","url":"https://github.com/python/cpython/commit/7ef7dd0a74f47facd1fadcbc77f8fb03beb5eb4d"},{"type":"FIX","url":"https://github.com/python/cpython/commit/65b255416ae217bf0e22085be3c1976cea18bd8c"},{"type":"FIX","url":"https://github.com/python/cpython/commit/1071290169f85c09cf767c1099564a9426cdc7e8"},{"type":"WEB","url":"https://github.com/python/cpython/issues/146581"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-3087"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-3087"},{"type":"ADVISORY","url":"https://mail.python.org/archives/list/security-announce@python.org/thread/X6FXE5C6KDKOVNX3EC3DWD5RUPFWOZA4/"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2026/04/28/9"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-3087"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-3087"}],"affected":[{"package":{"name":"python-3.10","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/python-3.10"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.10.19-r0"}]}],"versions":["3.10.19-r0","3.10.20-r0","3.10.20-r1","3.10.20-r10","3.10.20-r11","3.10.20-r12","3.10.20-r13","3.10.20-r2","3.10.20-r3","3.10.20-r4","3.10.20-r5","3.10.20-r6","3.10.20-r7","3.10.20-r8","3.10.20-r9","3.10.21-r1","3.10.21-r2","3.10.22-r0","3.10.22-r1","3.10.22-r2","3.10.22-r3","3.10.22-r4","3.10.22-r5","3.10.22-r6","3.10.22-r7","3.10.22-r8"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-sz45-rgxn-ecgj-gypu.json","owner_kind":"HSP"}},{"package":{"name":"python-3.10","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/python-3.10"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.10.20-r0"}]}],"versions":["3.10.20-r0","3.10.20-r1","3.10.20-r2","3.10.20-r3","3.10.20-r4","3.10.20-r5","3.10.21-r1","3.10.21-r2","3.10.22-r0","3.10.22-r1","3.10.22-r2","3.10.22-r3","3.10.22-r4","3.10.22-r5","3.10.22-r6","3.10.22-r7","3.10.22-r8"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-sz45-rgxn-ecgj-gypu.json"}},{"package":{"name":"python-3.11","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/python-3.11"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.11.14-r0"}]}],"versions":["3.11.14-r0","3.11.15-r0","3.11.15-r1","3.11.15-r10","3.11.15-r11","3.11.15-r12","3.11.15-r13","3.11.15-r2","3.11.15-r3","3.11.15-r4","3.11.15-r5","3.11.15-r6","3.11.15-r7","3.11.15-r8","3.11.15-r9","3.11.16-r1","3.11.16-r2","3.11.17-r0","3.11.17-r1","3.11.18-r0","3.11.18-r1","3.11.18-r2","3.11.18-r3","3.11.18-r4"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-sz45-rgxn-ecgj-gypu.json"}},{"package":{"name":"python-3.11","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/python-3.11"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.11.15-r0"}]}],"versions":["3.11.15-r0","3.11.15-r1","3.11.15-r2","3.11.15-r3","3.11.15-r4","3.11.15-r5","3.11.16-r1","3.11.16-r2","3.11.17-r0","3.11.17-r1","3.11.18-r0","3.11.18-r1","3.11.18-r2","3.11.18-r3","3.11.18-r4","3.11.18-r5"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-sz45-rgxn-ecgj-gypu.json"}},{"package":{"name":"python-3.10","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/python-3.10"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.10.20-0"}]}],"versions":["3.10.20-0","3.10.20-1","3.10.20-10","3.10.20-11","3.10.20-12","3.10.20-13","3.10.20-2","3.10.20-3","3.10.20-5","3.10.20-6","3.10.20-7","3.10.20-8","3.10.20-9","3.10.21-0","3.10.21-1","3.10.21-2","3.10.22-0","3.10.22-1","3.10.22-2","3.10.22-3","3.10.22-4","3.10.22-5","3.10.22-6","3.10.22-7","3.10.22-8"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-sz45-rgxn-ecgj-gypu.json"}},{"package":{"name":"python-3.11","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/python-3.11"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.11.15-0"}]}],"versions":["3.11.15-0","3.11.15-1","3.11.15-10","3.11.15-11","3.11.15-12","3.11.15-13","3.11.15-2","3.11.15-3","3.11.15-5","3.11.15-6","3.11.15-7","3.11.15-8","3.11.15-9","3.11.16-0","3.11.16-1","3.11.16-2","3.11.17-0","3.11.18-0","3.11.18-1","3.11.18-2","3.11.18-3","3.11.18-4","3.11.18-5","3.11.18-6","3.11.18-7","3.11.18-8"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-sz45-rgxn-ecgj-gypu.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"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"}]}