DHI-ulxl-onho-qw64-hqf6
tarfile.tar_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names…
UnscoredFix available
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-19
- Age
- 14d old
- Modified
- 2026-12-01
- Product
- Docker Hardened Images:Alpine:3.23 python-3.10
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.
Fixed in
3.10.22-5 · 3.10.22-r5 · 3.11.18-0 · 3.11.18-r0 · 3.12.16-0 · 3.12.16-r0 · 3.13.18-0 · 3.13.18-r0 · 3.14.10-0 · 3.14.10-r0 · 3.15.2-0 · 3.15.2-r0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Docker Hardened Images:Alpine:3.23 | python-3.10 | >=0, <3.10.22-r5 | 3.10.22-r5 |
| Docker Hardened Images:Alpine:3.23 | python-3.11 | >=0, <3.11.18-r0 | 3.11.18-r0 |
| Docker Hardened Images:Alpine:3.23 | python-3.12 | >=0, <3.12.16-r0 | 3.12.16-r0 |
| Docker Hardened Images:Alpine:3.23 | python-3.13 | >=0, <3.13.18-r0 | 3.13.18-r0 |
| Docker Hardened Images:Alpine:3.23 | python-3.14 | >=0, <3.14.10-r0 | 3.14.10-r0 |
| Docker Hardened Images:Alpine:3.23 | python-3.15 | >=0, <3.15.2-r0 | 3.15.2-r0 |
| Docker Hardened Images:Alpine:3.24 | python-3.10 | >=0, <3.10.22-r5 | 3.10.22-r5 |
| Docker Hardened Images:Alpine:3.24 | python-3.11 | >=0, <3.11.18-r0 | 3.11.18-r0 |
| Docker Hardened Images:Alpine:3.24 | python-3.12 | >=0, <3.12.16-r0 | 3.12.16-r0 |
| Docker Hardened Images:Alpine:3.24 | python-3.13 | >=0, <3.13.18-r0 | 3.13.18-r0 |
| Docker Hardened Images:Alpine:3.24 | python-3.14 | >=0, <3.14.10-r0 | 3.14.10-r0 |
| Docker Hardened Images:Alpine:3.24 | python-3.15 | >=0, <3.15.2-r0 | 3.15.2-r0 |
| Docker Hardened Images:Debian:13 | python-3.10 | >=0, <3.10.22-5 | 3.10.22-5 |
| Docker Hardened Images:Debian:13 | python-3.11 | >=0, <3.11.18-0 | 3.11.18-0 |
| Docker Hardened Images:Debian:13 | python-3.12 | >=0, <3.12.16-0 | 3.12.16-0 |
| Docker Hardened Images:Debian:13 | python-3.13 | >=0, <3.13.18-0 | 3.13.18-0 |
| Docker Hardened Images:Debian:13 | python-3.14 | >=0, <3.14.10-0 | 3.14.10-0 |
| Docker Hardened Images:Debian:13 | python-3.15 | >=0, <3.15.2-0 | 3.15.2-0 |
Sources
- OSV · first seen 14d ago · CC-BY 4.0
References
- https://scout.docker.com/v/DHI-ulxl-onho-qw64-hqf6 advisory
- https://github.com/python/cpython/pull/160098 fix
- https://github.com/python/cpython/commit/f4401da82e2baec5dab06cf070fbca77d53220f0 fix
- https://github.com/python/cpython/commit/e7e0b3523ad6ba8472873dda594cf4021a16f8b5 fix
- https://github.com/python/cpython/commit/c6ada40177436e4e2533a7b252082b5f0c043477 fix
- https://github.com/python/cpython/commit/bc93f8ad4c4a0f92d184ec8fccc8ff8a651dcec2 fix
- https://github.com/python/cpython/commit/0901ad4ffb22605f12b705d1c1197f0a01f0ba0b fix
- https://github.com/python/cpython/commit/04d8fca7da2cf3ebc0881fec8a53a1330c3b665d fix
- https://github.com/python/cpython/issues/160097 web
- https://errata.almalinux.org/8/ALSA-2026-99691.html advisory
- https://access.redhat.com/errata/RHSA-2026:99691 advisory
- https://security.alpinelinux.org/vuln/CVE-2026-114583 advisory
- https://alas.aws.amazon.com/AL2023/ALAS-2026-3356.html advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-115557 advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-114583 advisory
- https://alas.aws.amazon.com/AL2023/ALAS-2026-3406.html advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-87910 advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-12345 advisory
- https://alas.aws.amazon.com/AL2023/ALAS-2026-3407.html advisory
- https://alas.aws.amazon.com/AL2023/ALAS-2026-3408.html advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-114583 advisory
- https://security-tracker.debian.org/tracker/CVE-2026-114583 advisory
- https://linux.oracle.com/cve/ELSA-2026-99691.html advisory
- https://linux.oracle.com/errata/ELSA-2026-99691.html advisory
- https://errata.rockylinux.org/RLSA-2026:99691 advisory