CVE-2026-19672 json
tarfile extraction filter bypass allows creation of directories outside the destination
published 2mo ago modified last mo. also BIT-libpython-2026-19672 , BIT-python-2026-19672 , BIT-python-min-2026-19672 , EUVD-2026-62536
- cvss
- 6.3
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 41%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami libpython 3.10.22, 3.11.17, 3.12.15, 3.13.16, 3.14.8
- bitnami python 3.10.22, 3.11.17, 3.12.15, 3.13.16, 3.14.8
- bitnami python-min 3.10.22, 3.11.17, 3.12.15, 3.13.16, 3.14.8
- Python Software Foundation CPython 3.16.0
- python3.14 Debian 14 3.14.7-3
- python3.15 Debian 14 3.15.0~rc2-1
debian advisories DEBIAN-CVE-2026-19672
- python3.13 hummingbird 1 3.13.15-1.1.hum1
- python3.13-idle hummingbird 1 3.13.15-1.1.hum1
- python3.13-libs hummingbird 1 3.13.15-1.1.hum1
- python3.13-test hummingbird 1 3.13.15-1.1.hum1
- python3.13-tkinter hummingbird 1 3.13.15-1.1.hum1
- python3.13-freethreading hummingbird 1 3.13.15-1.1.hum1
- python3.12 hummingbird 1 3.12.14-1.1.hum1
- python3.12-idle hummingbird 1 3.12.14-1.1.hum1
red hat advisories RHSA-2026:65567RHSA-2026:65531RHSA-2026:65525RHSA-2026:65513RHSA-2026:65505
- python311 SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Python 3 15 SP7 3.11.17-150600.3.74.1
- python311-core SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Python 3 15 SP7 +1 more 3.11.17-150600.3.74.1
- python313 SLE Module for Python 3 15 SP7 3.13.16-150700.4.61.1
- python313-core SLE Module for Python 3 15 SP7 3.13.16-150700.4.61.1
- python311 SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +6 more 3.11.17-150400.9.105.1
- python311-core SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +6 more 3.11.17-150400.9.105.1
- python311-documentation SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 3.11.17-150400.9.105.1
- python3 SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +11 more 3.6.15-150300.10.129.1
suse advisories SUSE-SU-2026:4946-1SUSE-SU-2026:4941-1SUSE-SU-2026:4809-1SUSE-SU-2026:4754-1SUSE-SU-2026:4744-1SUSE-SU-2026:4743-1
- python312 openSUSE Tumbleweed 3.12.14-2.1
- python310 openSUSE Tumbleweed 3.10.21-2.1
- python311 openSUSE Tumbleweed 3.11.16-2.1
- python314 openSUSE Tumbleweed 3.14.7-2.1
- python313 openSUSE Tumbleweed 3.13.15-1.1
- python315 openSUSE Tumbleweed 3.15.0~rc2-1.1
opensuse advisories openSUSE-SU-2026:11975-1openSUSE-SU-2026:11949-1openSUSE-SU-2026:11886-1openSUSE-SU-2026:11868-1openSUSE-SU-2026:11817-1openSUSE-SU-2026:11748-1
- python3 Alpine 3.23, Alpine 3.22, Alpine 3.21 3.12.15-r0
- python3 Alpine 3.24 3.14.8-r0
alpine advisories ALPINE-CVE-2026-19672
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/python/cpython#156000 pull request
Is CVE-2026-19672 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-19672 updated cvss 5.3
python: Python tarfile module: Directory traversal allows creation of empty directories outside extraction destination
-
Red Hat Enterprise Linux 6 python, tkinter, python-libs, python-test, python-tools Red Hat Enterprise Linux 7 python, python3, tkinter, python-libs, python-test, python-tools, +4 more Red Hat Enterprise Linux 8 scipy, python3, python36, python3.12, python-nose, python-wheel, +31 more Red Hat Enterprise Linux 9 python3, python3.9, python3.12, python3.14, python3-idle, python3-libs, +16 more Red Hat Enterprise Linux 10 python3.12, python3.14 Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/bootc-gaudi-rhel9, rhelai3/bootc-aws-cuda-rhel9, rhelai3/bootc-gcp-cuda-rhel9, rhelai3/bootc-azure-cuda-rhel9, +1 moreaffected: workaround, no fix available “Fix deferred”
+5 more productsfewer
Red Hat Enterprise Linux command line assistant rhel-cla/rhel-knowledge-bridge-rhel10 Red Hat OpenShift AI (RHOAI) rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9 Red Hat OpenShift Dev Spaces devspaces/code-rhel9, devspaces/pluginregistry-rhel9 Red Hat OpenShift Virtualization 4 container-native-virtualization/ocp-virt-validation-checkup-rhel9 Red Hat Self-service automation portal 2 ansible-automation-platform/bootc-automation-portal-rhel9 -
Red Hat Hardened Images python3 3.14.7-1.1.hum1, python3.14 3.14.7-1.1.hum1, python3.10 3.10.21-1.1.hum1, python3.11 3.11.16-1.2.hum1, python3.12 3.12.14-1.1.hum1, python3.13 3.13.15-1.1.hum1, +27 morefixed: vendor fix RHSA-2026:65505
-
Red Hat Hardened Images hi/pythonnot affected: component not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2mo ago
Exploit prediction
0.47% chance of exploitation in the next 30 days, higher than 41% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.3 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N |
| CNA | 4.0 | 6.3 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | libpython | <3.10.22 >=3.11.0, <3.11.17 >=3.12.0, <3.12.15 >=3.13.0, <3.13.16 >=3.14.0, <3.14.8 |
3.10.22 3.11.17 3.12.15 3.13.16 3.14.8 |
| bitnami | python | <3.10.22 >=3.11.0, <3.11.17 >=3.12.0, <3.12.15 >=3.13.0, <3.13.16 >=3.14.0, <3.14.8 |
3.10.22 3.11.17 3.12.15 3.13.16 3.14.8 |
| bitnami | python-min | <3.10.22 >=3.11.0, <3.11.17 >=3.12.0, <3.12.15 >=3.13.0, <3.13.16 >=3.14.0, <3.14.8 |
3.10.22 3.11.17 3.12.15 3.13.16 3.14.8 |
Affected products
- Python Software Foundation CPython
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/python/cpython/pull/156000
patch, issue-tracking, web
-
mail.python.org
/archives/list/security-announce@python.org/thread/J2WT2ALRWEXQJOB3C7Q2HYWUXP3CINWO/
vendor-advisory, web
-
openwall.com
/lists/oss-security/2026/08/25/10
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-19672
web
Sources
- CVE List CVE-2026-19672
- NVD CVE-2026-19672
- OSV BIT-libpython-2026-19672
- OSV BIT-python-2026-19672
- OSV BIT-python-min-2026-19672
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.