Python Software Foundation CPython
tarfile extraction filters allow file modification and content disclosure via hard link to symlink
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.4high · scored by CNA · CWE-59
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Python Software Foundation CPython
- < 3.10.22
- >= 3.11.0, < 3.11.17
- >= 3.12.0, < 3.12.15
- >= 3.13.0, < 3.13.16
- >= 3.14.0a1, < 3.14.0b1
Fixed in 3.10.22, 3.11.17, 3.12.15, 3.13.16, 3.14.0b1
Mitigation
Upgrade CPython to 3.10.22 or 3.11.17 or 3.12.15 or 3.13.16 or 3.14.0b1 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.