CVE-2026-4360

Medium

Description

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductPython
PublishedJun 30, 2026
First seenJun 30, 2026
Weakness typeCWE-281CWE-281

How to fix

Affected products

ProductAffected versionsFixed in
python pythonv < 3.1.53.1.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.