{"id":"CVE-2026-114583","revision":"e13e0a02bc5048ceabf05ca78c1ce008","records":[{"revision":"e13e0a02bc5048ceabf05ca78c1ce008","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-114583","aliases":[],"title":"tar filter allows writing outside destination via empty-named symlink","description":"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.","state":0,"publishedAt":"2026-10-22T20:57:36.019+00:00","modifiedAt":"2026-10-23T00:36:58.472+00:00","affected":[{"ecosystem":"Vendor product","name":"CPython","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"defaultStatus\": \"unaffected\",\n                    \"modules\": [\n                        \"tarfile\"\n                    ],\n                    \"product\": \"CPython\",\n                    \"repo\": \"https://github.com/python/cpython\",\n                    \"vendor\": \"Python Software Foundation\",\n                    \"versions\": [\n                        {\n                            \"lessThan\": \"3.16.0\",\n                            \"status\": \"affected\",\n                            \"version\": \"0\",\n                            \"versionType\": \"python\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 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","score":6.9,"severity":"MEDIUM"}],"references":["https://github.com/python/cpython/pull/160098","https://github.com/python/cpython/issues/160097","https://mail.python.org/archives/list/security-announce@python.org/thread/43JOWPRAV5DI3VZ4FUEUAZOHCATXXOCK/","https://github.com/python/cpython/commit/0901ad4ffb22605f12b705d1c1197f0a01f0ba0b","https://github.com/python/cpython/commit/c6ada40177436e4e2533a7b252082b5f0c043477","https://github.com/python/cpython/commit/e7e0b3523ad6ba8472873dda594cf4021a16f8b5"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-114583","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-114583","identifiers":["CVE-2026-114583"]},"retained":false,"historicalAffected":[]}],"coverage":[]}