CVE-2026-114583
tarfile.tar_filter could be bypassed using crafted link entries, …
tarfile.tar_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended extraction directory. This allowed a malicious tar archive to cause tarfile.extractall() with filter="tar" to write files outside the destination directory, subject to the permissions of the extracting process. This is the tarfile.tar_filter counterpart of CVE-2026-7774, which covered tarfile.data_filter.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/python/cpython/issues/160097
- github.com/python/cpython/pull/160098
- mail.python.org/archives/list/[email protected]/thread/43JOWPRAV5DI3VZ4FUEUAZOH
- github.com/python/cpython/commit/0901ad4ffb22605f12b705d1c1197f0a01f0ba0b
- github.com/python/cpython/commit/c6ada40177436e4e2533a7b252082b5f0c043477
- github.com/python/cpython/commit/e7e0b3523ad6ba8472873dda594cf4021a16f8b5
- github.com/python/cpython/commit/04d8fca7da2cf3ebc0881fec8a53a1330c3b665d
- github.com/python/cpython/commit/bc93f8ad4c4a0f92d184ec8fccc8ff8a651dcec2
- nvd.nist.gov/vuln/detail/CVE-2026-114583
- cve.org/CVERecord?id=CVE-2026-114583
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.