CVE-2026-19672
published medium CVSS 4.0 · 6.3tarfile extraction filter bypass allows creation of directories outside the destination
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Python Software Foundation | — | CPython0 to < 3.16.0 · Other versions: unaffected | Affected | Not stated | PSF |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3229 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3230 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3231 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | python-unversioned-command | Advisory build | 3.12.15-1.el10_2 | ALSA-2026:77020 |
| Alpine Linux | edge | python3 | Fixed | 3.14.8-r0 | Package fix record |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3232 | Fixed | Not stated | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-10 | python-unversioned-commandnoarch | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| AlmaLinux | 8 | python3.12 | Advisory build | 3.12.15-2.el8_10 | ALSA-2026:77028 |
| AlmaLinux | 8 | python3.12-debug | Advisory build | 3.12.15-2.el8_10 | ALSA-2026:77028 |
| AlmaLinux | 8 | python3.12-devel | Advisory build | 3.12.15-2.el8_10 | ALSA-2026:77028 |
| AlmaLinux | 8 | python3.12-idle | Advisory build | 3.12.15-2.el8_10 | ALSA-2026:77028 |
| AlmaLinux | 8 | python3.12-libs | Advisory build | 3.12.15-2.el8_10 | ALSA-2026:77028 |
| AlmaLinux | 8 | python3.12-rpm-macros | Advisory build | 3.12.15-2.el8_10 | ALSA-2026:77028 |
| AlmaLinux | 8 | python3.12-test | Advisory build | 3.12.15-2.el8_10 | ALSA-2026:77028 |
| AlmaLinux | 8 | python3.12-tkinter | Advisory build | 3.12.15-2.el8_10 | ALSA-2026:77028 |
| Alpine Linux | v3.21 | python3 | Fixed | 3.12.15-r0 | Package fix record |
| Alpine Linux | v3.22 | python3 | Fixed | 3.12.15-r0 | Package fix record |
| Alpine Linux | v3.23 | python3 | Fixed | 3.12.15-r0 | Package fix record |
| Alpine Linux | v3.24 | python3 | Fixed | 3.14.8-r0 | Package fix record |
| Red Hat Enterprise Linux | RHEL-10 | python3aarch64 | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3ppc64le | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3s390x | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3x86_64 | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3-debugaarch64 | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3-debugppc64le | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3-debugs390x | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3-debugx86_64 | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3-develaarch64 | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3-develppc64le | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3-devels390x | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3-develx86_64 | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3-idleaarch64 | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3-idleppc64le | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3-idles390x | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3-idlex86_64 | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3-libsaarch64 | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3-libsppc64le | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3-libss390x | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3-libsx86_64 | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3-testaarch64 | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3-testppc64le | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3-tests390x | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3-testx86_64 | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3-tkinteraarch64 | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3-tkinterppc64le | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3-tkinters390x | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3-tkinterx86_64 | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3.12src | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3.12-debuginfoaarch64 | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3.12-debuginfoppc64le | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3.12-debuginfos390x | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3.12-debuginfox86_64 | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3.12-debugsourceaarch64 | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3.12-debugsourceppc64le | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3.12-debugsources390x | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-10 | python3.12-debugsourcex86_64 | Advisory build | 3.12.15-1.el10_2 | RHSA-2026:77020 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12aarch64 | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12i686 | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12ppc64le | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12s390x | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12src | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12x86_64 | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-debugaarch64 | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-debugi686 | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-debugppc64le | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-debugs390x | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-debugx86_64 | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-debuginfoaarch64 | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-debuginfoi686 | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-debuginfoppc64le | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-debuginfos390x | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-debuginfox86_64 | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-debugsourceaarch64 | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-debugsourcei686 | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-debugsourceppc64le | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-debugsources390x | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-debugsourcex86_64 | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-develaarch64 | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-develi686 | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-develppc64le | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-devels390x | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-develx86_64 | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-idleaarch64 | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-idlei686 | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-idleppc64le | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-idles390x | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-idlex86_64 | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-libsaarch64 | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-libsi686 | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-libsppc64le | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-libss390x | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-libsx86_64 | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-rpm-macrosnoarch | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-testaarch64 | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-testi686 | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-testppc64le | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-tests390x | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-testx86_64 | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-tkinteraarch64 | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-tkinteri686 | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-tkinterppc64le | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-tkinters390x | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-8 | python3.12-tkinterx86_64 | Advisory build | 3.12.15-2.el8_10 | RHSA-2026:77028 |
| Red Hat Enterprise Linux | RHEL-9 | python3.12aarch64 | Advisory build | 3.12.15-1.el9_8 | RHSA-2026:77017 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- PSF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Python Software Foundation | CPython | 0 to < 3.16.0 (affected · python)Default: unaffected | PSF · cna |
Weaknesses
1- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
3Provider assertions
3PSF · cna
tarfile extraction filter bypass allows creation of directories outside the destination
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9b729a9a3f1a6afcc35a6c901cf17fdd3b447392dfa929635850b3d75c275112
- Ingested
- 23 Sep 2026, 09:03:51 UTC
- Source record
- Official CVE record