{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-3087","assignerOrgId":"28c92f92-d60d-412d-b760-e73465c3df22","state":"PUBLISHED","assignerShortName":"PSF","dateReserved":"2026-02-23T23:14:46.433Z","datePublished":"2026-04-27T20:46:43.201Z","dateUpdated":"2026-05-12T13:25:02.962Z"},"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","modules":["shutil"],"product":"CPython","repo":"https://github.com/python/cpython","vendor":"Python Software Foundation","versions":[{"version":"0","lessThan":"3.14.5rc1","status":"affected","versionType":"python"},{"version":"3.15.0a1","lessThan":"3.15.0b1","status":"affected","versionType":"python"}]}],"credits":[{"lang":"en","type":"remediation developer","value":"Serhiy Storchaka (https://github.com/serhiy-storchaka)"},{"lang":"en","type":"coordinator","value":"Seth Larson (https://github.com/sethmlarson)"},{"lang":"en","type":"reporter","value":"GGAutomaton (https://github.com/GGAutomaton)"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"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."}],"value":"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."}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":6,"baseSeverity":"MEDIUM","exploitMaturity":"NOT_DEFINED","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","description":"CWE-22","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"28c92f92-d60d-412d-b760-e73465c3df22","shortName":"PSF","dateUpdated":"2026-05-12T13:25:02.962Z"},"references":[{"tags":["patch"],"url":"https://github.com/python/cpython/pull/146591"},{"tags":["issue-tracking"],"url":"https://github.com/python/cpython/issues/146581"},{"tags":["vendor-advisory"],"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/X6FXE5C6KDKOVNX3EC3DWD5RUPFWOZA4/"},{"tags":["patch"],"url":"https://github.com/python/cpython/commit/ab5ef98af693bded74a738570e81ea70abef2840"},{"tags":["patch"],"url":"https://github.com/python/cpython/commit/b01e594fbe754a960212f908d047294e880b52fd"},{"tags":["patch"],"url":"https://github.com/python/cpython/commit/fc829e88753858c8ac669594bf0093f44948c0f4"}],"source":{"discovery":"UNKNOWN"},"title":"shutil.unpack_archive() doesn't check for Windows absolute paths in ZIPs","x_generator":{"engine":"Vulnogram 0.6.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/04/28/9"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2026-04-28T05:07:42.331Z"}},{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-28T13:38:08.747185Z","id":"CVE-2026-3087","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-04-28T14:35:55.942Z"}}]}}