tarfile extraction filters allow file modification and content disclosure via hard link to symlink
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 8.4epss 0.2%
exploitation probability
0.2%top 92% of all CVEs
observed exploitation
nono source reports it
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.
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Affected products
Python Software Foundation · CPythonReferences
https://github.com/python/cpython/commit/5a57248b22ad3b9aafcaaadae2c304a1923daecahttps://github.com/python/cpython/commit/b38be2e6cf9d989075ab73412c63e003ebad4ff3https://github.com/python/cpython/commit/b8f23e307097552eaea2604383a12ab280520d0dhttps://github.com/python/cpython/issues/157190https://github.com/python/cpython/pull/157191https://mail.python.org/archives/list/security-announce@python.org/thread/EFJWGAZJA56AKSBR2WHMHQZO7RRLZPRH/http://www.openwall.com/lists/oss-security/2026/09/14/27