REDHAT-BUG-2531985: Medium severity Python Software Foundation Python vulnerability
Published Sep 11, 2026
·Updated
When tarfile extracts a link on a system that doesn't support links, it falls back to extracting a member from the archive. In this case, the filter function is run twice: once for the extracted member, and once with name set to the location of the link. For one of the calls, the return value was ignored. Instead, the member should be skipped if either call returns None.
Affected Software
1 affected component
Python Software Foundation Python
Event History
Sep 11, 2026
Data Sourced
via Red Hat·05:45 PM
DescriptionSeverityAffected Software
Frequently Asked Questions
1
Which environments are affected by this behavior?
The issue applies when tarfile extracts a link on a system that does not support links and falls back to extracting the referenced archive member.
2
When should the archive member be skipped during this fallback path?
The member should be skipped if either filter invocation returns None, including the invocation whose name is set to the link location.