7.8
High
CVE-2026-11940 tarfile.extractall() with the 'data' or 'tar' filter could be bypassed by a crafted archive where a hardlink …
Description
tarfile.extractall() with the 'data' or 'tar' filter could be bypassed by a crafted archive where a hardlink references a symlink stored at a deeper name than the hardlink itself. The extraction fallback validated the symlink at it's archived location but recreated it at the hardlink's shallower path, letting a relative target the filter judged contained escape the destination directory. This allowed a malicious tar archive to create a symlink pointing outside the destination, enabling out-of-destination file reads or writes. This was an incomplete fix of CVE-2025-4330.
Affected products and versions
References
- github.com github.com
- mail.python.org mail.python.org
- github.com github.com
- github.com github.com
- github.com github.com
- github.com github.com
- github.com github.com
- github.com github.com
- github.com github.com
- github.com github.com
Timeline
- Published
- Last modified
Other CVEs of CPython
The 79 CVEs of CPython →
CVE-2026-116566
socket.getaddrinfo() previously accepted null bytes within *host* and *port* parameters which can cause the values to be…
5.3
Medium
CVE-2026-103995
Lenient parsing of integers for response body and chunk framing
2.0
Low
CVE-2026-115557
Python has added a denylist for known compromised certificates to the "ssl" module to ensure user safety even without…
9.4
Critical
CVE-2026-114583
tarfile.tar_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like…
6.9
Medium