CVE-2026-4360

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.

Score
CVSS 3.1 5.3 Medium
Status
Modified - cna@python.org
Published
2026-06-30
Last modified
2026-10-25
Weaknesses
CWE-281

Affected products

References