What’s Vulnerable › Vulnerabilities

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

Description

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 products

How to fix

Upgrade to a fixed version: Python 3.10.22, 3.11.17, 3.12.15, 3.13.16. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-82049 or the next vulnerability affects your stack