https://seclists.org/oss-sec/2026/q3/720: CPython: [CVE-2026-87910] tarfile hardlink fallback ignos custom extraction filter jection via None

Published Sep 11, 2026
·
Updated

Affected Software

1 affected component
Python CPython>=<

Frequently Asked Questions

1

When is this issue reachable?

It is reachable when tarfile extracts a link on a system that does not support links and therefore falls back to extracting the linked member from the archive.

2

What must an attacker provide to exploit the issue?

An attacker would need an archive containing a link that triggers the no-link-support fallback during extraction. The issue concerns custom extraction filters that return None to skip a member.

3

Why might a custom extraction filter fail to block extraction?

During the fallback, the filter is called twice: for the extracted member and for the link location. One return value was ignored, so a member could be extracted even when one of those filter calls returned None.

4

What behavior should be expected after the fix?

The member should be skipped if either of the two filter calls returns None.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203