BIT-python-min-2026-82049: tarfile extraction filters allow file modification and content disclosure via hard link to symlink

Published Sep 14, 2026
·
Updated

In CPython 3.13 and earlier, the tarfile module's data and tar extraction filters are vulnerable to crafted archives containing a hard link to a symbolic link. Such archives may cause extraction to modify the permissions or modification time of a file outside the destination directory, or expose the contents of that file within the extracted tree.

Affected Software

1 affected component
Python Software Foundation CPython<=3.13

Event History

Sep 14, 2026
CVE Published
via OSV·07:14 PM
Data Sourced
via OSV·07:14 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which applications are exposed?

Applications running CPython 3.13 or earlier are exposed if they extract untrusted tar archives using the tarfile module's data or tar extraction filters. The crafted archive must contain a hard link that targets a symbolic link.

2

What could exploitation allow?

A malicious archive can cause extraction to change permissions or modification time on a file outside the intended destination directory. It can also expose the contents of such an outside file within the extracted directory tree.

3

Does exploitation require an attacker to have an account or code execution on the target?

No privileges are required according to the supplied vector, but user interaction is required. In practice, a user or application must initiate extraction of the crafted archive.

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