{"id":"DHI-5swr-p7hv-tabb-yy5k","summary":"tarfile.extractall() with the 'data' or 'tar'","details":"tarfile.extractall() with the 'data' or 'tar'\n filter could be bypassed by a crafted archive where a hardlink \nreferences a symlink stored at a deeper name than the hardlink itself.  \nThe extraction fallback validated the symlink at it's archived location \nbut recreated it at the hardlink's shallower\npath, letting a relative\n target the filter judged contained escape the destination directory.  \nThis allowed a malicious tar archive to create a symlink pointing \noutside the destination, enabling out-of-destination file reads or \nwrites. This was an incomplete fix of CVE-2025-4330.","modified":"2026-11-22T00:15:02.769482627Z","published":"2026-11-19T22:11:01Z","upstream":["CVE-2026-11940"],"database_specific":{"coverage_exclusions":["legacy_package_image_owner"],"coverage":"partial"},"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-5swr-p7hv-tabb-yy5k"},{"type":"FIX","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":"WEB","url":"https://github.com/python/cpython/issues/151558"},{"type":"ADVISORY","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"}],"affected":[{"package":{"name":"python-3.10","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/python-3.10"},"versions":["3.10.19-r0","3.10.20-r0","3.10.20-r1","3.10.20-r10","3.10.20-r11","3.10.20-r12","3.10.20-r13","3.10.20-r2","3.10.20-r3","3.10.20-r4","3.10.20-r5","3.10.20-r6","3.10.20-r7","3.10.20-r8","3.10.20-r9","3.10.21-r1","3.10.21-r2","3.10.22-r0","3.10.22-r1","3.10.22-r2","3.10.22-r3","3.10.22-r4","3.10.22-r5","3.10.22-r6","3.10.22-r7","3.10.22-r8"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5swr-p7hv-tabb-yy5k.json"}},{"package":{"name":"python-3.10","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/python-3.10"},"versions":["3.10.20-r0","3.10.20-r1","3.10.20-r2","3.10.20-r3","3.10.20-r4","3.10.20-r5","3.10.21-r1","3.10.21-r2","3.10.22-r0","3.10.22-r1","3.10.22-r2","3.10.22-r3","3.10.22-r4","3.10.22-r5","3.10.22-r6","3.10.22-r7","3.10.22-r8"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5swr-p7hv-tabb-yy5k.json"}},{"package":{"name":"python-3.11","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/python-3.11"},"versions":["3.11.14-r0","3.11.15-r0","3.11.15-r1","3.11.15-r10","3.11.15-r11","3.11.15-r12","3.11.15-r13","3.11.15-r2","3.11.15-r3","3.11.15-r4","3.11.15-r5","3.11.15-r6","3.11.15-r7","3.11.15-r8","3.11.15-r9","3.11.16-r1","3.11.16-r2","3.11.17-r0","3.11.17-r1","3.11.18-r0","3.11.18-r1","3.11.18-r2","3.11.18-r3","3.11.18-r4"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5swr-p7hv-tabb-yy5k.json","owner_kind":"HSP"}},{"package":{"name":"python-3.11","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/python-3.11"},"versions":["3.11.15-r0","3.11.15-r1","3.11.15-r2","3.11.15-r3","3.11.15-r4","3.11.15-r5","3.11.16-r1","3.11.16-r2","3.11.17-r0","3.11.17-r1","3.11.18-r0","3.11.18-r1","3.11.18-r2","3.11.18-r3","3.11.18-r4"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5swr-p7hv-tabb-yy5k.json"}},{"package":{"name":"python-3.12","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/python-3.12"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.12.13-r10"}]}],"versions":["3.12.12-r0","3.12.13-r0","3.12.13-r1","3.12.13-r2","3.12.13-r3","3.12.13-r4","3.12.13-r5","3.12.13-r6","3.12.13-r7","3.12.13-r8","3.12.13-r9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5swr-p7hv-tabb-yy5k.json"}},{"package":{"name":"python-3.12","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/python-3.12"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.12.13-r2"}]}],"versions":["3.12.13-r0","3.12.13-r1"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5swr-p7hv-tabb-yy5k.json"}},{"package":{"name":"python-3.13","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/python-3.13"},"versions":["3.13.12-r0","3.13.12-r1","3.13.13-r1","3.13.13-r2","3.13.13-r3","3.13.13-r4","3.13.13-r5","3.13.13-r6","3.13.13-r7","3.13.13-r8","3.13.13-r9","3.13.14-r0","3.13.14-r1","3.13.14-r2","3.13.14-r3","3.13.15-r0","3.13.15-r1","3.13.15-r2","3.13.16-r0","3.13.16-r1","3.13.17-r0","3.13.18-r0","3.13.18-r1","3.13.18-r2","3.13.18-r3","3.13.18-r4"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5swr-p7hv-tabb-yy5k.json"}},{"package":{"name":"python-3.13","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/python-3.13"},"versions":["3.13.13-r0","3.13.13-r1","3.13.14-r0","3.13.14-r1","3.13.14-r2","3.13.14-r3","3.13.15-r0","3.13.15-r1","3.13.15-r2","3.13.16-r0","3.13.16-r1","3.13.17-r0","3.13.18-r0","3.13.18-r1","3.13.18-r2","3.13.18-r3","3.13.18-r4"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5swr-p7hv-tabb-yy5k.json"}},{"package":{"name":"python-3.14","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/python-3.14"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.14.6-r10"}]}],"versions":["3.14.3-r0","3.14.3-r1","3.14.4-r1","3.14.4-r2","3.14.4-r3","3.14.4-r4","3.14.4-r5","3.14.4-r6","3.14.4-r7","3.14.5-r7","3.14.5-r8","3.14.5-r9","3.14.6-r9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5swr-p7hv-tabb-yy5k.json"}},{"package":{"name":"python-3.14","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/python-3.14"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.14.6-r1"}]}],"versions":["3.14.5-r0","3.14.5-r1","3.14.6-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5swr-p7hv-tabb-yy5k.json"}},{"package":{"name":"python3","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/python3"},"versions":["3.12.12-r0","3.12.13-r0","3.12.14-r0","3.12.15-r0","3.12.16-r0"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5swr-p7hv-tabb-yy5k.json","owner_kind":"HSP"}},{"package":{"name":"python3","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/python3"},"versions":["3.14.10-r0","3.14.3-r0","3.14.5-r0","3.14.5-r2","3.14.7-r0","3.14.7-r1","3.14.8-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5swr-p7hv-tabb-yy5k.json"}},{"package":{"name":"python-3.10","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/python-3.10"},"versions":["3.10.20-0","3.10.20-1","3.10.20-10","3.10.20-11","3.10.20-12","3.10.20-13","3.10.20-2","3.10.20-3","3.10.20-5","3.10.20-6","3.10.20-7","3.10.20-8","3.10.20-9","3.10.21-0","3.10.21-1","3.10.21-2","3.10.22-0","3.10.22-1","3.10.22-2","3.10.22-3","3.10.22-4","3.10.22-5","3.10.22-6","3.10.22-7","3.10.22-8"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5swr-p7hv-tabb-yy5k.json"}},{"package":{"name":"python-3.11","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/python-3.11"},"versions":["3.11.15-0","3.11.15-1","3.11.15-10","3.11.15-11","3.11.15-12","3.11.15-13","3.11.15-2","3.11.15-3","3.11.15-5","3.11.15-6","3.11.15-7","3.11.15-8","3.11.15-9","3.11.16-0","3.11.16-1","3.11.16-2","3.11.17-0","3.11.18-0","3.11.18-1","3.11.18-2","3.11.18-3","3.11.18-4","3.11.18-5","3.11.18-6","3.11.18-7","3.11.18-8"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5swr-p7hv-tabb-yy5k.json"}},{"package":{"name":"python-3.12","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/python-3.12"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.12.13-9"}]}],"versions":["3.12.13-0","3.12.13-1","3.12.13-2","3.12.13-3","3.12.13-5","3.12.13-6","3.12.13-7","3.12.13-8"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5swr-p7hv-tabb-yy5k.json"}},{"package":{"name":"python-3.13","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/python-3.13"},"versions":["3.13.13-0","3.13.13-1","3.13.13-2","3.13.13-3","3.13.13-5","3.13.13-6","3.13.13-7","3.13.13-8","3.13.14-0","3.13.14-1","3.13.14-2","3.13.14-3","3.13.14-4","3.13.15-0","3.13.15-1","3.13.15-2","3.13.16-0","3.13.17-0","3.13.18-0","3.13.18-1","3.13.18-2","3.13.18-3","3.13.18-4","3.13.18-5","3.13.18-6","3.13.18-7","3.13.18-8"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5swr-p7hv-tabb-yy5k.json"}},{"package":{"name":"python-3.14","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/python-3.14"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.14.6-3"}]}],"versions":["3.14.5-0","3.14.5-1","3.14.5-2","3.14.5-3","3.14.5-5","3.14.6-0","3.14.6-1","3.14.6-2"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5swr-p7hv-tabb-yy5k.json"}},{"package":{"name":"python3.13","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/python3.13"},"versions":["3.13.5-2+deb13u4+dhi0","3.13.5-2+deb13u5"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5swr-p7hv-tabb-yy5k.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}