Vulnerability in Python

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.

EPSS: 0.003 (18.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-4360?
CVE-2026-4360 is a medium-severity vulnerability in Python, classified under Improper Preservation of Permissions. CVSS score: 5.3/10. Published 2026-06-30.
How severe is CVE-2026-4360?
Medium severity. CVSS v3 base score is 5.3 out of 10.