{"affected":[{"defaultStatus":"unaffected","product":"CPython","source":"CNA: PSF","vendor":"Python Software Foundation","versions":[{"lessThan":"3.16.0","status":"affected","version":"0","versionType":"python"}]}],"cveId":"CVE-2026-107784","cwes":["CWE-22","CWE-59"],"description":"On Windows, the tarfile \"tar\" and \"data\" extraction filters did not reject member names or link targets that have a drive but no root, such as \"C:foo\". When extracting to a relative destination, such a member was written to the current working directory of that drive instead of the destination, and a symbolic link with such a target pointed outside the destination. The filters now refuse these member names and link targets with AbsolutePathError and AbsoluteLinkError.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":6.3,"severity":"medium","source":"CNA: PSF","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"}],"modifiedAt":1795458890244,"publishedAt":1795447664908,"references":[{"source":"CNA: PSF","tags":["patch"],"url":"https://github.com/python/cpython/pull/161334"},{"source":"CNA: PSF","tags":["issue-tracking"],"url":"https://github.com/python/cpython/issues/161323"},{"source":"CNA: PSF","tags":["vendor-advisory"],"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/ANUOLPP6MFFJ45RT6XG2BRGZPFHMGDAS/"}],"remediation":[{"kind":"fix","source":"CNA: PSF","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/python/cpython/pull/161334"}],"revision":"9f3de2991505708880a542abca2d7b07a041c86953611a93e1438a5c685dcc0e","sources":[{"modifiedAt":1795458890244,"name":"CNA: PSF","retrievedAt":1795460915606,"url":"https://www.cve.org/CVERecord?id=CVE-2026-107784"}],"ssvc":null,"status":"published","title":"tarfile extraction filters accept drive-relative paths on Windows","updatedAt":1795460915606}