CVE-2026-114583
tar filter allows writing outside destination via empty-named symlink
Description
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.chaquo.python » pythonpreliminary | < 3.11.18< 0901ad4ffb22605f12b705d1c1197f0a01f0ba0b< c6ada40177436e4e2533a7b252082b5f0c043477< e7e0b3523ad6ba8472873dda594cf4021a16f8b5< 04d8fca7da2cf3ebc0881fec8a53a1330c3b665d< bc93f8ad4c4a0f92d184ec8fccc8ff8a651dcec2< f4401da82e2baec5dab06cf070fbca77d53220f0>= 3.12.0, < 3.12.16>= 3.13.0, < 3.13.18>= 3.14.0, < 3.14.10>= 3.15.0, < 3.15.2>= 3.16.0a1, < 3.16.0 | 3.11.18, 0901ad4ffb22605f12b705d1c1197f0a01f0ba0b, c6ada40177436e4e2533a7b252082b5f0c043477, e7e0b3523ad6ba8472873dda594cf4021a16f8b5, 04d8fca7da2cf3ebc0881fec8a53a1330c3b665d, bc93f8ad4c4a0f92d184ec8fccc8ff8a651dcec2, f4401da82e2baec5dab06cf070fbca77d53220f0, 3.12.16, 3.13.18, 3.14.10, 3.15.2, 3.16.0 |
Blast radius
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | CVE record CVE-2026-114583 | github.com |
| Advisory | NVD CVE-2026-114583 | nvd.nist.gov |
| Fix | python/cpython commit 04d8fca | github.com |
| Fix | python/cpython commit 0901ad4 | github.com |
| Fix | python/cpython commit bc93f8a | github.com |
| Fix | python/cpython commit c6ada40 | github.com |
| Fix | python/cpython commit e7e0b35 | github.com |
| Fix | python/cpython commit f4401da | github.com |
| Fix | python/cpython pull request #160098 | github.com |
| Report | python/cpython issue #160097 | github.com |
| Package | python/cpython | github.com |
| Web | archives/list/security-announce@python.org/thread/43JOWPRAV5DI3VZ4FUEUAZOHCATXXOCK | mail.python.org |
