Vulnerability in Tarfile.extract() Function Affects Python Package
CVE-2026-4360
2LOW
What is CVE-2026-4360?
The Tarfile.extract() function in Python improperly processes the filter parameter during the extraction of hardlinks. This issue allows malicious actors to exploit affected systems by extracting content from untrusted tar files, resulting in unintended ownership changes of the files (uid/gid). This behavior could lead to unauthorized access or system compromise, emphasizing the need for vigilance and prompt patching.
Affected Version(s)
CPython 0 < 3.15.0
References
CVSS V4
Score:
2
Severity:
LOW
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
Unknown
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Michael Scovetta (https://github.com/scovetta)
Seth Larson (https://github.com/sethmlarson)
Petr Viktorin (https://github.com/encukou)
