CVE-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 CPython<=3.13

Event History

Sep 14, 2026
CVE Published
via MITRE·07:14 PM
Data Sourced
via MITRE·07:14 PM
DescriptionWeakness

Frequently Asked Questions

1

What conditions are required for exploitation?

An application must extract an attacker-crafted tar archive using the tarfile module's data or tar extraction filter. The archive needs to contain a hard link that targets a symbolic link.

2

What systems or files could be affected?

The issue can affect files outside the intended extraction destination. Successful exploitation may change an outside file's permissions or modification time, or make that file's contents accessible inside the extracted directory tree.

3

Are applications using extraction filters protected from this issue?

No. The vulnerable behavior specifically affects the tarfile module's data and tar extraction filters in CPython 3.13 and earlier.

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