CVE-2026-4360 — Tarfile.extract() doesn't fully respect filter parameter
In the Tarfile.extract() function, the filter parameter is not passed properly when extracting hardlinks. An affected system that extracts content from untrusted tar files could…
Published: 2026-06-30 · CVSS: 2.0 · CVSS 4.0
In the Tarfile.extract() function, the filter parameter is not passed properly when extracting hardlinks. An affected system that extracts content from untrusted tar files could end up writing files with an unexpected uid/gid despite the user passing filter='data' to the extract() function.
Source: CVE Program · Revision 8b16575c39f1e1810c5e863010da073d2d3285e7