DHI-5swr-p7hv-tabb-yy5k
tarfile.extractall() with the 'data' or 'tar'
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-19
- Age
- 14d old
- Modified
- 2026-11-25
- Product
- Docker Hardened Images:Alpine:3.23 python-3.10
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.
Fixed in
3.10.20-9 · 3.10.20-r10 · 3.10.20-r2 · 3.12.13-9 · 3.12.13-r10 · 3.12.13-r2 · 3.13.14-1 · 3.13.14-r1 · 3.14.6-3 · 3.14.6-r1 · 3.14.6-r10
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Docker Hardened Images:Alpine:3.23 | python-3.10 | >=0, <3.10.20-r10 | 3.10.20-r10 |
| Docker Hardened Images:Alpine:3.23 | python-3.12 | >=0, <3.12.13-r10 | 3.12.13-r10 |
| Docker Hardened Images:Alpine:3.23 | python-3.13 | >=0, <3.13.14-r1 | 3.13.14-r1 |
| Docker Hardened Images:Alpine:3.23 | python-3.14 | >=0, <3.14.6-r10 | 3.14.6-r10 |
| Docker Hardened Images:Alpine:3.24 | python-3.10 | >=0, <3.10.20-r2 | 3.10.20-r2 |
| Docker Hardened Images:Alpine:3.24 | python-3.12 | >=0, <3.12.13-r2 | 3.12.13-r2 |
| Docker Hardened Images:Alpine:3.24 | python-3.13 | >=0, <3.13.14-r1 | 3.13.14-r1 |
| Docker Hardened Images:Alpine:3.24 | python-3.14 | >=0, <3.14.6-r1 | 3.14.6-r1 |
| Docker Hardened Images:Debian:13 | python-3.10 | >=0, <3.10.20-9 | 3.10.20-9 |
| Docker Hardened Images:Debian:13 | python-3.12 | >=0, <3.12.13-9 | 3.12.13-9 |
| Docker Hardened Images:Debian:13 | python-3.13 | >=0, <3.13.14-1 | 3.13.14-1 |
| Docker Hardened Images:Debian:13 | python-3.14 | >=0, <3.14.6-3 | 3.14.6-3 |
Sources
- OSV · first seen 14d ago · CC-BY 4.0
References
- https://scout.docker.com/v/DHI-5swr-p7hv-tabb-yy5k advisory
- https://github.com/python/cpython/pull/151559 fix
- https://github.com/python/cpython/commit/e5fdbd8d5aa923bd9111b112ea73bd6ec7c47877 fix
- https://github.com/python/cpython/commit/be13e86f6b9788a6f4d0419dffef72cbae5865c9 fix
- https://github.com/python/cpython/commit/79c06bd5c6afa3c440d50faf7ee1b147c8832b4c fix
- https://github.com/python/cpython/commit/771d12dda5140313db0ac550292987975651bbde fix
- https://github.com/python/cpython/commit/672825e2f36a57e173959b0d9d409d4560dab8df fix
- https://github.com/python/cpython/commit/27dd970bf6b17ebca7c8ed486a40ab043ed7af8f fix
- https://github.com/python/cpython/commit/0f852b3f07dd8e71e40326a51c02afbf16a42cc5 fix
- https://github.com/python/cpython/issues/151558 web
- https://errata.almalinux.org/9/ALSA-2026-54268.html advisory
- https://access.redhat.com/errata/RHSA-2026:54268 advisory
- https://errata.almalinux.org/8/ALSA-2026-56219.html advisory
- https://access.redhat.com/errata/RHSA-2026:56219 advisory
- https://errata.almalinux.org/9/ALSA-2026-58901.html advisory
- https://access.redhat.com/errata/RHSA-2026:58901 advisory
- https://errata.almalinux.org/8/ALSA-2026-58971.html advisory
- https://access.redhat.com/errata/RHSA-2026:58971 advisory
- https://errata.almalinux.org/9/ALSA-2026-59009.html advisory
- https://access.redhat.com/errata/RHSA-2026:59009 advisory
- https://security.alpinelinux.org/vuln/CVE-2026-11940 advisory
- https://alas.aws.amazon.com/AL2023/ALAS-2026-1910.html advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-9669 advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-8328 advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-7774 advisory