{"id":"DHI-5swr-p7hv-tabb-yy5k","aliases":[],"title":"tarfile.extractall() with the 'data' or 'tar'","originalDescription":"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.","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[{"ecosystem":"Docker Hardened Images:Alpine:3.23","name":"python-3.10","range":">=0, <3.10.20-r10","fixed":"3.10.20-r10"},{"ecosystem":"Docker Hardened Images:Alpine:3.23","name":"python-3.12","range":">=0, <3.12.13-r10","fixed":"3.12.13-r10"},{"ecosystem":"Docker Hardened Images:Alpine:3.23","name":"python-3.13","range":">=0, <3.13.14-r1","fixed":"3.13.14-r1"},{"ecosystem":"Docker Hardened Images:Alpine:3.23","name":"python-3.14","range":">=0, <3.14.6-r10","fixed":"3.14.6-r10"},{"ecosystem":"Docker Hardened Images:Alpine:3.24","name":"python-3.10","range":">=0, <3.10.20-r2","fixed":"3.10.20-r2"},{"ecosystem":"Docker Hardened Images:Alpine:3.24","name":"python-3.12","range":">=0, <3.12.13-r2","fixed":"3.12.13-r2"},{"ecosystem":"Docker Hardened Images:Alpine:3.24","name":"python-3.13","range":">=0, <3.13.14-r1","fixed":"3.13.14-r1"},{"ecosystem":"Docker Hardened Images:Alpine:3.24","name":"python-3.14","range":">=0, <3.14.6-r1","fixed":"3.14.6-r1"},{"ecosystem":"Docker Hardened Images:Debian:13","name":"python-3.10","range":">=0, <3.10.20-9","fixed":"3.10.20-9"},{"ecosystem":"Docker Hardened Images:Debian:13","name":"python-3.12","range":">=0, <3.12.13-9","fixed":"3.12.13-9"},{"ecosystem":"Docker Hardened Images:Debian:13","name":"python-3.13","range":">=0, <3.13.14-1","fixed":"3.13.14-1"},{"ecosystem":"Docker Hardened Images:Debian:13","name":"python-3.14","range":">=0, <3.14.6-3","fixed":"3.14.6-3"}],"references":[{"url":"https://scout.docker.com/v/DHI-5swr-p7hv-tabb-yy5k","type":"advisory"},{"url":"https://github.com/python/cpython/pull/151559","type":"fix"},{"url":"https://github.com/python/cpython/commit/e5fdbd8d5aa923bd9111b112ea73bd6ec7c47877","type":"fix"},{"url":"https://github.com/python/cpython/commit/be13e86f6b9788a6f4d0419dffef72cbae5865c9","type":"fix"},{"url":"https://github.com/python/cpython/commit/79c06bd5c6afa3c440d50faf7ee1b147c8832b4c","type":"fix"},{"url":"https://github.com/python/cpython/commit/771d12dda5140313db0ac550292987975651bbde","type":"fix"},{"url":"https://github.com/python/cpython/commit/672825e2f36a57e173959b0d9d409d4560dab8df","type":"fix"},{"url":"https://github.com/python/cpython/commit/27dd970bf6b17ebca7c8ed486a40ab043ed7af8f","type":"fix"},{"url":"https://github.com/python/cpython/commit/0f852b3f07dd8e71e40326a51c02afbf16a42cc5","type":"fix"},{"url":"https://github.com/python/cpython/issues/151558","type":"web"},{"url":"https://errata.almalinux.org/9/ALSA-2026-54268.html","type":"advisory"},{"url":"https://access.redhat.com/errata/RHSA-2026:54268","type":"advisory"},{"url":"https://errata.almalinux.org/8/ALSA-2026-56219.html","type":"advisory"},{"url":"https://access.redhat.com/errata/RHSA-2026:56219","type":"advisory"},{"url":"https://errata.almalinux.org/9/ALSA-2026-58901.html","type":"advisory"},{"url":"https://access.redhat.com/errata/RHSA-2026:58901","type":"advisory"},{"url":"https://errata.almalinux.org/8/ALSA-2026-58971.html","type":"advisory"},{"url":"https://access.redhat.com/errata/RHSA-2026:58971","type":"advisory"},{"url":"https://errata.almalinux.org/9/ALSA-2026-59009.html","type":"advisory"},{"url":"https://access.redhat.com/errata/RHSA-2026:59009","type":"advisory"},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-11940","type":"advisory"},{"url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-1910.html","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-9669","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-8328","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-7774","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-7210","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-3276","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-1502","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-11940","type":"advisory"},{"url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-1929.html","type":"advisory"},{"url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-1930.html","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-13462","type":"advisory"},{"url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-1931.html","type":"advisory"},{"url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-1963.html","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-11972","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-0864","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-11940","type":"advisory"},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-11940","type":"advisory"},{"url":"https://linux.oracle.com/cve/ELSA-2026-54268.html","type":"advisory"},{"url":"https://linux.oracle.com/errata/ELSA-2026-54268.html","type":"advisory"},{"url":"https://linux.oracle.com/cve/ELSA-2026-56219.html","type":"advisory"},{"url":"https://linux.oracle.com/errata/ELSA-2026-56219.html","type":"advisory"},{"url":"https://linux.oracle.com/cve/ELSA-2026-58901.html","type":"advisory"},{"url":"https://linux.oracle.com/errata/ELSA-2026-58901.html","type":"advisory"},{"url":"https://linux.oracle.com/cve/ELSA-2026-58928.html","type":"advisory"},{"url":"https://linux.oracle.com/errata/ELSA-2026-58928.html","type":"advisory"},{"url":"https://linux.oracle.com/cve/ELSA-2026-58971.html","type":"advisory"},{"url":"https://linux.oracle.com/errata/ELSA-2026-58971.html","type":"advisory"},{"url":"https://linux.oracle.com/cve/ELSA-2026-59009.html","type":"advisory"},{"url":"https://linux.oracle.com/errata/ELSA-2026-59009.html","type":"advisory"},{"url":"https://errata.rockylinux.org/RLSA-2026:54268","type":"advisory"},{"url":"https://errata.rockylinux.org/RLSA-2026:56219","type":"advisory"},{"url":"https://errata.rockylinux.org/RLSA-2026:58901","type":"advisory"},{"url":"https://errata.rockylinux.org/RLSA-2026:58902","type":"advisory"},{"url":"https://errata.rockylinux.org/RLSA-2026:58928","type":"advisory"},{"url":"https://errata.rockylinux.org/RLSA-2026:58971","type":"advisory"},{"url":"https://errata.rockylinux.org/RLSA-2026:59009","type":"advisory"},{"url":"https://ubuntu.com/security/CVE-2026-11940","type":"advisory"},{"url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-11940","type":"advisory"}],"sources":[{"name":"osv","at":"2026-11-25T03:48:48.716Z","url":"https://osv.dev/vulnerability/DHI-5swr-p7hv-tabb-yy5k","license":"CC-BY 4.0","firstSeenAt":"2026-11-19T22:19:47.685Z"}],"firstSeenAt":"2026-11-19T22:19:47.685Z","publishedAt":"2026-11-19T22:11:01.000Z","modifiedAt":"2026-11-25T03:30:06.333Z"}