CVE-2026-19672 tarfile extraction filter bypass allows creation of directories outside the destination
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
The tarfile module's tar and data
extraction filters created directories outside the destination for
members whose name leaves the destination and returns to it, such as ../evil/../dest/sub/file. The containment check used the resolved path, but intermediate directories were created from the name as given.
Only
empty directories are created outside the destination. Member contents
are still extracted inside it. To return to the destination the member's
name must contain the destination directory's own final component, so
extraction into a secure randomised directory is not affected.
This affects POSIX platforms only. On Windows, .. components are collapsed before the path reaches the filesystem, so the directories outside the destination are never created.
Upgrade path
45 packages: 12 fixed, 1 partially fixed, 32 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux python-py(Azure Linux 4.0) | All versions | No fix listed | No fix yet |
| debian/python3.13(Debian 13) | = 3.13.5-2; = 3.13.5-2+deb13u1; = 3.13.5-2+deb13u2; = 3.13.5-2+deb13u3 +12 more | No fix listed | No fix yet |
| redhat/ansible-automation-platform/bootc-automation-portal-rhel9(Red Hat ansible_portal 2) | All versions | No fix listed | No fix yet |
| redhat/container-native-virtualization/ocp-virt-validation-checkup-rhel9(Red Hat container_native_virtualization 4) | All versions | No fix listed | No fix yet |
| redhat/devspaces/code-rhel9(Red Hat openshift_devspaces 3) | All versions | No fix listed | No fix yet |
| redhat/devspaces/pluginregistry-rhel9(Red Hat openshift_devspaces 3) | All versions | No fix listed | No fix yet |
| redhat/python(Red Hat rhel_els 6) | All versions | No fix listed | No fix yet |
| redhat/python(Red Hat rhel_els 7) | All versions | No fix listed | No fix yet |
| redhat/python3(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/python3(Red Hat rhel_els 7) | All versions | No fix listed | No fix yet |
| redhat/python3.12(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/python3.12(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/python3.12(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/python3.14(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/python3.14(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/python3.9(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/python36:3.6/python36(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/rhel-cla/rhel-knowledge-bridge-rhel10(Red Hat rhel_cla 1) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-aws-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-azure-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-azure-rocm-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-gaudi-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-gcp-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-rocm-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| ubuntu/python2.7(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/python3.10(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/python3.11(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/python3.12(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
… and 15 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Python Software Foundation CPython | < 3.16.0 | 3.16.0 |
| redhat/python3-14-main(Red Hat:hummingbird:1) | < 3.14.7-1.1.hum1 | 3.14.7-1.1.hum1 |
| redhat/python3-10-main(Red Hat:hummingbird:1) | < 3.10.21-1.1.hum1 | 3.10.21-1.1.hum1 |
| redhat/python3-11-main(Red Hat:hummingbird:1) | < 3.11.16-1.2.hum1 | 3.11.16-1.2.hum1 |
| redhat/python3-12-main(Red Hat:hummingbird:1) | < 3.12.14-1.1.hum1 | 3.12.14-1.1.hum1 |
| redhat/python3-13-main(Red Hat:hummingbird:1) | < 3.13.15-1.1.hum1 | 3.13.15-1.1.hum1 |
| redhat/python3.12(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/python3.14(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/python(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/python(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/python3(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/python3(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/python3.12(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/python36:3.6/python36(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/python3.12(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/python3.14(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/python3.9(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/rhelai3/bootc-aws-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-azure-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-azure-rocm-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-gaudi-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-gcp-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-rocm-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhel-cla/rhel-knowledge-bridge-rhel10(Red Hat:rhel_cla:1) | All versions | No fix listed |
Show 71 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/devspaces/code-rhel9(Red Hat:openshift_devspaces:3) | All versions | No fix listed |
| redhat/devspaces/pluginregistry-rhel9(Red Hat:openshift_devspaces:3) | All versions | No fix listed |
| redhat/container-native-virtualization/ocp-virt-validation-checkup-rhel9(Red Hat:container_native_virtualization:4) | All versions | No fix listed |
| redhat/ansible-automation-platform/bootc-automation-portal-rhel9(Red Hat:ansible_portal:2) | All versions | No fix listed |
| debian/python3.13(Debian:13) | All versions | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.11-1 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.12-1 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.14-1 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.15-1 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.18-1 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.5-2 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.5-2+deb13u1 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.5-2+deb13u2 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.5-2+deb13u3 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.5-2+deb13u4 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.5-2+deb13u5 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.6-1 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.7-1 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.8-1 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.9-1 | No fix listed |
| debian/python3.14(Debian:14) | < 3.14.7-3 | 3.14.7-3 |
| debian/python3.14(Debian:14) | = 3.14.0-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0-2 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0-3 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0-4 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0-5 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~a7-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~b1-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~b2-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~b3-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~b4-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~rc1-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~rc2-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~rc3-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.2-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.3-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.3-2 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.3-3 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.3-4 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.3-5 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.4-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.4-2 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.5-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.5~rc1-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.6-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.7-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.7-2 | No fix listed |
| debian/python3.15(Debian:14) | < 3.15.0~rc2-1 | 3.15.0~rc2-1 |
| debian/python3.15(Debian:14) | = 3.15.0~a8-1 | No fix listed |
| debian/python3.15(Debian:14) | = 3.15.0~a8-2 | No fix listed |
| debian/python3.15(Debian:14) | = 3.15.0~b1-1 | No fix listed |
| debian/python3.15(Debian:14) | = 3.15.0~b1-2 | No fix listed |
| debian/python3.15(Debian:14) | = 3.15.0~b1-3 | No fix listed |
| debian/python3.15(Debian:14) | = 3.15.0~b2-1 | No fix listed |
| debian/python3.15(Debian:14) | = 3.15.0~b3-1 | No fix listed |
| debian/python3.15(Debian:14) | = 3.15.0~b4-1 | No fix listed |
| debian/python3.15(Debian:14) | = 3.15.0~rc1-1 | No fix listed |
| ubuntu/python3.10(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/python2.7(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/python3.11(Ubuntu:22.04) | All versions | No fix listed |
| alpine/python3(Alpine:v3.21) | < 3.12.15-r0 | 3.12.15-r0 |
| alpine/python3(Alpine:v3.22) | < 3.12.15-r0 | 3.12.15-r0 |
| alpine/python3(Alpine:v3.23) | < 3.12.15-r0 | 3.12.15-r0 |
| alpine/python3(Alpine:v3.24) | < 3.14.8-r0 | 3.14.8-r0 |
| ubuntu/python3.12(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/python3.14(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/python3.14(Ubuntu:26.10) | All versions | No fix listed |
| azure linux python3(Azure Linux:3.0) | All versions | No fix listed |
| azure linux python3(Azure Linux:3.0) | < 3.12.14-2 | 3.12.14-2 |
| azure linux python-py(Azure Linux:4.0) | All versions | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- Release Notes patch vendor-advisory
- github.com issue-tracking patch
- mail.python.org vendor-advisory
- www.openwall.com
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:65505 patch vendor-advisory
- RHSA-2026:65513 patch vendor-advisory
- RHSA-2026:65525 patch vendor-advisory
- RHSA-2026:65531 patch vendor-advisory
- RHSA-2026:65567 patch vendor-advisory
- Red Hat Bugzilla 2519726 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-19672 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- security.alpinelinux.org vendor-advisory
- ENISA EUVD EUVD-2026-62536 third-party-advisory