# CVE-2026-19672: tarfile extraction filter bypass allows creation of directories outside the destination

CVE-2026-19672 is fixed in 56 products on 3 platforms, first by DEBIAN-CVE-2026-19672, released September 12, 2026. 12 other affected products have no fix yet. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2026-19672
- Priority: Routine
- CVSS: 6.3 (Moderate)
- EPSS: 0.0047
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 19, 2026
- Weakness: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-19672

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | python sles 15.7 | 2.7.18-150000.133.1 | [SUSE-SU-2026:4411-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-4411-1.md) | Oct 1, 2026 |
| Linux | python-base sles 15.7 | 2.7.18-150000.133.1 | [SUSE-SU-2026:4411-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-4411-1.md) | Oct 1, 2026 |
| Linux | python3 sles 15.6 | 3.6.15-150300.10.129.1 | [SUSE-SU-2026:4754-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-4754-1.md) | Nov 7, 2026 |
| Linux | python3 sles 15.7 | 3.6.15-150300.10.129.1 | [SUSE-SU-2026:4754-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-4754-1.md) | Nov 7, 2026 |
| Linux | python3-core sles 15.6 | 3.6.15-150300.10.129.1 | [SUSE-SU-2026:4754-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-4754-1.md) | Nov 7, 2026 |
| Linux | python3-core sles 15.7 | 3.6.15-150300.10.129.1 | [SUSE-SU-2026:4754-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-4754-1.md) | Nov 7, 2026 |
| Linux | python3.11 amzn 2023 | 3.11.17-1.amzn2023.0.1 | [ALAS2023-2026-3231](https://patchblox.com/security/data/fix/linux/alas2023-2026-3231.md) | Nov 7, 2026 |
| Linux | python3.11-debug amzn 2023 | 3.11.17-1.amzn2023.0.1 | [ALAS2023-2026-3231](https://patchblox.com/security/data/fix/linux/alas2023-2026-3231.md) | Nov 7, 2026 |
| Linux | python3.11-debuginfo amzn 2023 | 3.11.17-1.amzn2023.0.1 | [ALAS2023-2026-3231](https://patchblox.com/security/data/fix/linux/alas2023-2026-3231.md) | Nov 7, 2026 |
| Linux | python3.11-debugsource amzn 2023 | 3.11.17-1.amzn2023.0.1 | [ALAS2023-2026-3231](https://patchblox.com/security/data/fix/linux/alas2023-2026-3231.md) | Nov 7, 2026 |
| Linux | python3.11-devel amzn 2023 | 3.11.17-1.amzn2023.0.1 | [ALAS2023-2026-3231](https://patchblox.com/security/data/fix/linux/alas2023-2026-3231.md) | Nov 7, 2026 |
| Linux | python3.11-idle amzn 2023 | 3.11.17-1.amzn2023.0.1 | [ALAS2023-2026-3231](https://patchblox.com/security/data/fix/linux/alas2023-2026-3231.md) | Nov 7, 2026 |
| Linux | python3.11-libs amzn 2023 | 3.11.17-1.amzn2023.0.1 | [ALAS2023-2026-3231](https://patchblox.com/security/data/fix/linux/alas2023-2026-3231.md) | Nov 7, 2026 |
| Linux | python3.11-test amzn 2023 | 3.11.17-1.amzn2023.0.1 | [ALAS2023-2026-3231](https://patchblox.com/security/data/fix/linux/alas2023-2026-3231.md) | Nov 7, 2026 |
| Linux | python3.11-tkinter amzn 2023 | 3.11.17-1.amzn2023.0.1 | [ALAS2023-2026-3231](https://patchblox.com/security/data/fix/linux/alas2023-2026-3231.md) | Nov 7, 2026 |
| Linux | python3.12 amzn 2023 | 3.12.15-2.amzn2023.0.1 | [ALAS2023-2026-3230](https://patchblox.com/security/data/fix/linux/alas2023-2026-3230.md) | Nov 7, 2026 |
| Linux | python3.12-debug amzn 2023 | 3.12.15-2.amzn2023.0.1 | [ALAS2023-2026-3230](https://patchblox.com/security/data/fix/linux/alas2023-2026-3230.md) | Nov 7, 2026 |
| Linux | python3.12-debuginfo amzn 2023 | 3.12.15-2.amzn2023.0.1 | [ALAS2023-2026-3230](https://patchblox.com/security/data/fix/linux/alas2023-2026-3230.md) | Nov 7, 2026 |
| Linux | python3.12-debugsource amzn 2023 | 3.12.15-2.amzn2023.0.1 | [ALAS2023-2026-3230](https://patchblox.com/security/data/fix/linux/alas2023-2026-3230.md) | Nov 7, 2026 |
| Linux | python3.12-devel amzn 2023 | 3.12.15-2.amzn2023.0.1 | [ALAS2023-2026-3230](https://patchblox.com/security/data/fix/linux/alas2023-2026-3230.md) | Nov 7, 2026 |
| Linux | python3.12-idle amzn 2023 | 3.12.15-2.amzn2023.0.1 | [ALAS2023-2026-3230](https://patchblox.com/security/data/fix/linux/alas2023-2026-3230.md) | Nov 7, 2026 |
| Linux | python3.12-libs amzn 2023 | 3.12.15-2.amzn2023.0.1 | [ALAS2023-2026-3230](https://patchblox.com/security/data/fix/linux/alas2023-2026-3230.md) | Nov 7, 2026 |
| Linux | python3.12-test amzn 2023 | 3.12.15-2.amzn2023.0.1 | [ALAS2023-2026-3230](https://patchblox.com/security/data/fix/linux/alas2023-2026-3230.md) | Nov 7, 2026 |
| Linux | python3.12-tkinter amzn 2023 | 3.12.15-2.amzn2023.0.1 | [ALAS2023-2026-3230](https://patchblox.com/security/data/fix/linux/alas2023-2026-3230.md) | Nov 7, 2026 |
| Linux | python3.13 amzn 2023 | 3.13.16-1.amzn2023.0.1 | [ALAS2023-2026-3229](https://patchblox.com/security/data/fix/linux/alas2023-2026-3229.md) | Nov 7, 2026 |
| Linux | python3.13-debug amzn 2023 | 3.13.16-1.amzn2023.0.1 | [ALAS2023-2026-3229](https://patchblox.com/security/data/fix/linux/alas2023-2026-3229.md) | Nov 7, 2026 |
| Linux | python3.13-debuginfo amzn 2023 | 3.13.16-1.amzn2023.0.1 | [ALAS2023-2026-3229](https://patchblox.com/security/data/fix/linux/alas2023-2026-3229.md) | Nov 7, 2026 |
| Linux | python3.13-debugsource amzn 2023 | 3.13.16-1.amzn2023.0.1 | [ALAS2023-2026-3229](https://patchblox.com/security/data/fix/linux/alas2023-2026-3229.md) | Nov 7, 2026 |
| Linux | python3.13-devel amzn 2023 | 3.13.16-1.amzn2023.0.1 | [ALAS2023-2026-3229](https://patchblox.com/security/data/fix/linux/alas2023-2026-3229.md) | Nov 7, 2026 |
| Linux | python3.13-freethreading amzn 2023 | 3.13.16-1.amzn2023.0.1 | [ALAS2023-2026-3229](https://patchblox.com/security/data/fix/linux/alas2023-2026-3229.md) | Nov 7, 2026 |
| Linux | python3.13-freethreading-debug amzn 2023 | 3.13.16-1.amzn2023.0.1 | [ALAS2023-2026-3229](https://patchblox.com/security/data/fix/linux/alas2023-2026-3229.md) | Nov 7, 2026 |
| Linux | python3.13-idle amzn 2023 | 3.13.16-1.amzn2023.0.1 | [ALAS2023-2026-3229](https://patchblox.com/security/data/fix/linux/alas2023-2026-3229.md) | Nov 7, 2026 |
| Linux | python3.13-libs amzn 2023 | 3.13.16-1.amzn2023.0.1 | [ALAS2023-2026-3229](https://patchblox.com/security/data/fix/linux/alas2023-2026-3229.md) | Nov 7, 2026 |
| Linux | python3.13-test amzn 2023 | 3.13.16-1.amzn2023.0.1 | [ALAS2023-2026-3229](https://patchblox.com/security/data/fix/linux/alas2023-2026-3229.md) | Nov 7, 2026 |
| Linux | python3.13-tkinter amzn 2023 | 3.13.16-1.amzn2023.0.1 | [ALAS2023-2026-3229](https://patchblox.com/security/data/fix/linux/alas2023-2026-3229.md) | Nov 7, 2026 |
| Linux | python3.14 Debian 14 | 3.14.7-3 | [DEBIAN-CVE-2026-19672](https://patchblox.com/security/data/fix/linux/debian-cve-2026-19672.md) | Sep 12, 2026 |
| Linux | python3.14 amzn 2023 | 3.14.8-1.amzn2023.0.1 | [ALAS2023-2026-3232](https://patchblox.com/security/data/fix/linux/alas2023-2026-3232.md) | Nov 7, 2026 |
| Linux | python3.14-debug amzn 2023 | 3.14.8-1.amzn2023.0.1 | [ALAS2023-2026-3232](https://patchblox.com/security/data/fix/linux/alas2023-2026-3232.md) | Nov 7, 2026 |
| Linux | python3.14-debuginfo amzn 2023 | 3.14.8-1.amzn2023.0.1 | [ALAS2023-2026-3232](https://patchblox.com/security/data/fix/linux/alas2023-2026-3232.md) | Nov 7, 2026 |
| Linux | python3.14-debugsource amzn 2023 | 3.14.8-1.amzn2023.0.1 | [ALAS2023-2026-3232](https://patchblox.com/security/data/fix/linux/alas2023-2026-3232.md) | Nov 7, 2026 |
| Linux | python3.14-devel amzn 2023 | 3.14.8-1.amzn2023.0.1 | [ALAS2023-2026-3232](https://patchblox.com/security/data/fix/linux/alas2023-2026-3232.md) | Nov 7, 2026 |
| Linux | python3.14-freethreading amzn 2023 | 3.14.8-1.amzn2023.0.1 | [ALAS2023-2026-3232](https://patchblox.com/security/data/fix/linux/alas2023-2026-3232.md) | Nov 7, 2026 |
| Linux | python3.14-freethreading-debug amzn 2023 | 3.14.8-1.amzn2023.0.1 | [ALAS2023-2026-3232](https://patchblox.com/security/data/fix/linux/alas2023-2026-3232.md) | Nov 7, 2026 |
| Linux | python3.14-freethreading-devel amzn 2023 | 3.14.8-1.amzn2023.0.1 | [ALAS2023-2026-3232](https://patchblox.com/security/data/fix/linux/alas2023-2026-3232.md) | Nov 7, 2026 |
| Linux | python3.14-freethreading-idle amzn 2023 | 3.14.8-1.amzn2023.0.1 | [ALAS2023-2026-3232](https://patchblox.com/security/data/fix/linux/alas2023-2026-3232.md) | Nov 7, 2026 |
| Linux | python3.14-freethreading-libs amzn 2023 | 3.14.8-1.amzn2023.0.1 | [ALAS2023-2026-3232](https://patchblox.com/security/data/fix/linux/alas2023-2026-3232.md) | Nov 7, 2026 |
| Linux | python3.14-freethreading-test amzn 2023 | 3.14.8-1.amzn2023.0.1 | [ALAS2023-2026-3232](https://patchblox.com/security/data/fix/linux/alas2023-2026-3232.md) | Nov 7, 2026 |
| Linux | python3.14-freethreading-tkinter amzn 2023 | 3.14.8-1.amzn2023.0.1 | [ALAS2023-2026-3232](https://patchblox.com/security/data/fix/linux/alas2023-2026-3232.md) | Nov 7, 2026 |
| Linux | python3.14-idle amzn 2023 | 3.14.8-1.amzn2023.0.1 | [ALAS2023-2026-3232](https://patchblox.com/security/data/fix/linux/alas2023-2026-3232.md) | Nov 7, 2026 |
| Linux | python3.14-libs amzn 2023 | 3.14.8-1.amzn2023.0.1 | [ALAS2023-2026-3232](https://patchblox.com/security/data/fix/linux/alas2023-2026-3232.md) | Nov 7, 2026 |
| Linux | python3.14-test amzn 2023 | 3.14.8-1.amzn2023.0.1 | [ALAS2023-2026-3232](https://patchblox.com/security/data/fix/linux/alas2023-2026-3232.md) | Nov 7, 2026 |
| Linux | python3.14-tkinter amzn 2023 | 3.14.8-1.amzn2023.0.1 | [ALAS2023-2026-3232](https://patchblox.com/security/data/fix/linux/alas2023-2026-3232.md) | Nov 7, 2026 |
| Linux | python3.15 Debian 14 | 3.15.0~rc2-1 | [DEBIAN-CVE-2026-19672](https://patchblox.com/security/data/fix/linux/debian-cve-2026-19672.md) | Sep 12, 2026 |
| Linux | python311 sles 15.6 | 3.11.17-150600.3.74.1 | [SUSE-SU-2026:4946-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-4946-1.md) | Nov 7, 2026 |
| Linux | python311 sles 15.7 | 3.11.17-150600.3.74.1 | [SUSE-SU-2026:4946-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-4946-1.md) | Nov 7, 2026 |
| Linux | python311-core sles 15.6 | 3.11.17-150600.3.74.1 | [SUSE-SU-2026:4946-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-4946-1.md) | Nov 7, 2026 |
| Linux | python311-core sles 15.7 | 3.11.17-150600.3.74.1 | [SUSE-SU-2026:4946-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-4946-1.md) | Nov 7, 2026 |
| Linux | python312 sles 15.6 | 3.12.14-150600.3.68.1 | [SUSE-SU-2026:4534-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-4534-1.md) | Oct 6, 2026 |
| Linux | python312-core sles 15.6 | 3.12.14-150600.3.68.1 | [SUSE-SU-2026:4534-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-4534-1.md) | Oct 6, 2026 |
| Linux | python313 sles 15.7 | 3.13.16-150700.4.61.1 | [SUSE-SU-2026:4941-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-4941-1.md) | Nov 7, 2026 |
| Linux | python313-core sles 15.7 | 3.13.16-150700.4.61.1 | [SUSE-SU-2026:4941-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-4941-1.md) | Nov 7, 2026 |

## No fix yet

| Platform | Product | Status |
|---|---|---|
| Windows apps | Python 2 | no-fix |
| Windows apps | Python 3.10 | no-fix |
| Windows apps | Python 3.11 | no-fix |
| Windows apps | Python 3.12 | no-fix |
| Windows apps | Python 3.13 | no-fix |
| Windows apps | Python 3.14 | no-fix |
| Windows apps | Python 3.5 | no-fix |
| Windows apps | Python 3.6 | no-fix |
| Windows apps | Python 3.7 | no-fix |
| Windows apps | Python 3.8 | no-fix |
| Windows apps | Python 3.9 | no-fix |
| macOS | Python3 | no-fix |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
