CVE-2026-4360 LOW

CVE-2026-4360: Tarfile.extract() doesn't fully respect filter parameter

Vendor Python Software Foundation
Product CPython
Weakness CWE-281
Published June 30, 2026
Last update June 30, 2026

CVSS base score

2.0/10
Attack vector Network
Attack complexity Low
Privileges required High
User interaction
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

June 30, 2026 CVE published
June 30, 2026 Record updated