High severity · published Sep 14, 2026
CVE-2026-82049
tarfile extraction filters allow file modification and content disclosure via hard link to symlink
8.4
CVSS
0.2%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 8% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CP
CPython · Python Software Foundation
before 3.10.22; 3.11.0 before 3.11.17; 3.12.0 before 3.12.15; 3.13.0 before 3.13.16; 3.14.0a1 before 3.14.0b1 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-82049
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-82049
patch
https://github.com/python/cpython/commit/5a57248b22ad3b9aafcaaadae2c304a1923daeca
issue-tracking
https://github.com/python/cpython/issues/157190
patch
https://github.com/python/cpython/pull/157191
vendor-advisory
https://mail.python.org/archives/list/security-announce@python.org/thread/EFJWGAZJA56AKSBR2WHMHQZO7RRLZPRH/
patch
https://github.com/python/cpython/commit/b38be2e6cf9d989075ab73412c63e003ebad4ff3
patch
https://github.com/python/cpython/commit/b8f23e307097552eaea2604383a12ab280520d0d
More from CPython
9.4
CVE-2026-115557
Distrust compromised intermediate certificates in ssl module
9.2
CVE-2026-19445
Use-after-free of a server-side SSLContext when sni_callback switches contexts
8.8
CVE-2026-3298
Out-of-bounds write in Windows asyncio.ProacterEventLoop.sock_recvfrom_into() when using nbytes
8.2
CVE-2026-11972
tarfile opened in streaming mode mishandles EOF
8.2
CVE-2026-9669
bz2.BZ2Decompressor reuse after error can cause a stack buffer overflow
