CPython tarfile filter bypass writes outside the extraction directory
CVE-2026-114583 was forwarded to oss-security; the body is truncated before versions or a fix.
48
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. This is the tarfile.tar_filter counterpart of CVE-2026-7774, which covered tarfile.data_filter.
CVE-2026-114583 was forwarded to oss-security; the body is truncated before versions or a fix.
Today 2.2K readers · 2.7K views · 401 reads · all time 108K views