CVE-2026-7774 — tarfile.data_filter path traversal bypass allows writing outside the extraction directory
tarfile.data_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended e…
Published: 2026-06-04 · CVSS: 6.9 · CVSS 4.0
tarfile.data_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() to write files outside the destination directory, subject to the permissions of the extracting process.
Source: CVE Program · Revision 8b16575c39f1e1810c5e863010da073d2d3285e7