{"id":"CVE-2026-114583","published":"2026-10-22T20:57:36Z","modified":"2026-11-02T12:32:42Z","title":"tar filter allows writing outside destination via empty-named symlink","vendor":"Python Software Foundation","product":"CPython","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00211,"percentile":0.06475,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/python/cpython/pull/160098","tags":["patch"]},{"url":"https://github.com/python/cpython/issues/160097","tags":["issue-tracking"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/43JOWPRAV5DI3VZ4FUEUAZOHCATXXOCK/","tags":[]},{"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","tags":["patch"]}],"priority":{"score":6.1,"factors":[{"name":"EPSS percentile","points":1.29},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"python-software-foundation","affectedVersions":[{"vendor":"Python Software Foundation","product":"CPython","versions":["< 3.11.18",">= 3.12.0, < 3.12.16",">= 3.13.0, < 3.13.18",">= 3.14.0, < 3.14.10",">= 3.15.0, < 3.15.2",">= 3.16.0a1, < 3.16.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-02T12:31:38.077183Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-108512","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-python-software-foundation-cpython-cve-2025-1550","parents":[{"from":"CVE-2024-12718","to":"CVE-2026-114583","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["Lib/tarfile.py"],"commits":["https://github.com/python/cpython/commit/3612d8f51741b11f36f8fb0494d79086bac9390a","https://github.com/python/cpython/commit/9e0ac76d96cf80b49055f6d6b9a6763fb9215c2a","https://github.com/python/cpython/commit/0901ad4ffb22605f12b705d1c1197f0a01f0ba0b","https://github.com/python/cpython/commit/c6ada40177436e4e2533a7b252082b5f0c043477"],"basis":"shared function","functions":["_get_filtered_attrs"]},{"kind":"similar","provenance":"machine","score":0.39,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2025-4138","to":"CVE-2026-114583","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["Lib/tarfile.py"],"commits":["https://github.com/python/cpython/commit/3612d8f51741b11f36f8fb0494d79086bac9390a","https://github.com/python/cpython/commit/9e0ac76d96cf80b49055f6d6b9a6763fb9215c2a","https://github.com/python/cpython/commit/0901ad4ffb22605f12b705d1c1197f0a01f0ba0b","https://github.com/python/cpython/commit/c6ada40177436e4e2533a7b252082b5f0c043477"],"basis":"shared function","functions":["_get_filtered_attrs"]},{"kind":"similar","provenance":"machine","score":0.39,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2025-4330","to":"CVE-2026-114583","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["Lib/tarfile.py"],"commits":["https://github.com/python/cpython/commit/3612d8f51741b11f36f8fb0494d79086bac9390a","https://github.com/python/cpython/commit/9e0ac76d96cf80b49055f6d6b9a6763fb9215c2a","https://github.com/python/cpython/commit/0901ad4ffb22605f12b705d1c1197f0a01f0ba0b","https://github.com/python/cpython/commit/c6ada40177436e4e2533a7b252082b5f0c043477"],"basis":"shared function","functions":["_get_filtered_attrs"]},{"kind":"similar","provenance":"machine","score":0.39,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2025-4435","to":"CVE-2026-114583","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["Lib/tarfile.py"],"commits":["https://github.com/python/cpython/commit/3612d8f51741b11f36f8fb0494d79086bac9390a","https://github.com/python/cpython/commit/9e0ac76d96cf80b49055f6d6b9a6763fb9215c2a","https://github.com/python/cpython/commit/0901ad4ffb22605f12b705d1c1197f0a01f0ba0b","https://github.com/python/cpython/commit/c6ada40177436e4e2533a7b252082b5f0c043477"],"basis":"shared function","functions":["_get_filtered_attrs"]}]},{"from":"CVE-2025-4517","to":"CVE-2026-114583","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["Lib/tarfile.py"],"commits":["https://github.com/python/cpython/commit/3612d8f51741b11f36f8fb0494d79086bac9390a","https://github.com/python/cpython/commit/9e0ac76d96cf80b49055f6d6b9a6763fb9215c2a","https://github.com/python/cpython/commit/0901ad4ffb22605f12b705d1c1197f0a01f0ba0b","https://github.com/python/cpython/commit/c6ada40177436e4e2533a7b252082b5f0c043477"],"basis":"shared function","functions":["_get_filtered_attrs"]},{"kind":"similar","provenance":"machine","score":0.39,"basis":"same product + CWE + description similarity"}]}]}}