{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-114583","assignerOrgId":"28c92f92-d60d-412d-b760-e73465c3df22","state":"PUBLISHED","assignerShortName":"PSF","dateReserved":"2026-10-21T18:58:26.985Z","datePublished":"2026-10-22T20:57:36.019Z","dateUpdated":"2026-10-27T00:36:15.766Z"},"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","modules":["tarfile"],"product":"CPython","repo":"https://github.com/python/cpython","vendor":"Python Software Foundation","versions":[{"version":"0","lessThan":"3.11.18","status":"affected","versionType":"python"},{"version":"3.12.0","lessThan":"3.12.16","status":"affected","versionType":"python"},{"version":"3.13.0","lessThan":"3.13.18","status":"affected","versionType":"python"},{"version":"3.14.0","lessThan":"3.14.10","status":"affected","versionType":"python"},{"version":"3.15.0","lessThan":"3.15.2","status":"affected","versionType":"python"},{"version":"3.16.0a1","lessThan":"3.16.0","status":"affected","versionType":"python"}]}],"credits":[{"lang":"en","type":"coordinator","value":"Stan Ulbrych (https://github.com/StanFromIreland)"},{"lang":"en","type":"remediation reviewer","value":"Ethan Furman (https://github.com/ethanfurman)"}],"descriptions":[{"lang":"en","supportingMedia":[{"type":"text/html","value":"tarfile.tar_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended extraction directory. This allowed a malicious tar archive to cause tarfile.extractall() with filter=\"tar\" to write files outside the destination directory, subject to the permissions of the extracting process.<br><br>This is the tarfile.tar_filter counterpart of CVE-2026-7774, which covered tarfile.data_filter."}],"value":"tarfile.tar_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended extraction directory. This allowed a malicious tar archive to cause tarfile.extractall() with filter=\"tar\" to write files outside the destination directory, subject to the permissions of the extracting process.\n\nThis is the tarfile.tar_filter counterpart of CVE-2026-7774, which covered tarfile.data_filter."}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"LOCAL","baseScore":6.9,"baseSeverity":"MEDIUM","exploitMaturity":"NOT_DEFINED","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/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"}]}],"providerMetadata":{"orgId":"28c92f92-d60d-412d-b760-e73465c3df22","shortName":"PSF","dateUpdated":"2026-10-27T00:36:15.766Z"},"references":[{"tags":["patch"],"url":"https://github.com/python/cpython/pull/160098"},{"tags":["issue-tracking"],"url":"https://github.com/python/cpython/issues/160097"},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/43JOWPRAV5DI3VZ4FUEUAZOHCATXXOCK/"},{"tags":["patch"],"url":"https://github.com/python/cpython/commit/0901ad4ffb22605f12b705d1c1197f0a01f0ba0b"},{"tags":["patch"],"url":"https://github.com/python/cpython/commit/c6ada40177436e4e2533a7b252082b5f0c043477"},{"tags":["patch"],"url":"https://github.com/python/cpython/commit/e7e0b3523ad6ba8472873dda594cf4021a16f8b5"},{"tags":["patch"],"url":"https://github.com/python/cpython/commit/04d8fca7da2cf3ebc0881fec8a53a1330c3b665d"},{"tags":["patch"],"url":"https://github.com/python/cpython/commit/bc93f8ad4c4a0f92d184ec8fccc8ff8a651dcec2"},{"tags":["patch"],"url":"https://github.com/python/cpython/commit/f4401da82e2baec5dab06cf070fbca77d53220f0"}],"source":{"discovery":"UNKNOWN"},"title":"tar filter allows writing outside destination via empty-named symlink","x_generator":{"engine":"cvelib 1.8.0"}}}}