Python Software Foundation · Python (CPython) · published 2026-08-19
CVE-2026-19672tarfile extraction filter bypass allows creation of directories outside the destination
Routine No exploitation evidence; EPSS 0.5%.
CVE-2026-19672 is not known to be exploited in the wild. EPSS estimates a 0.5% chance of exploitation in the next 30 days, higher than 41% of all CVEs. This Python (CPython) vulnerability: CVSS 6.3 (v4.0). Fixed upstream in Python (CPython) 3.14.8, 3.13.16, 3.12.15, 3.11.17 (+1 more); Ubuntu and Red Hat Enterprise Linux still have unfixed releases. Routine: patch when convenient.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
Fixed upstream in Python (CPython) 3.14.8, 3.13.16, 3.12.15, 3.11.17, 3.10.22.
Linux distribution packages
If you run the distro’s package rather than an upstream build, this is the version to look for.
| Distro | Release | Package | Status |
|---|---|---|---|
| Debian | 13 trixie | pypy3 | Not affected |
| 13 trixie | python3.13 | Won’t fix | |
| 12 bookworm | pypy3 | Not affected | |
| 12 bookworm | python3.11 | Not affected | |
| Ubuntu | 26.04 LTS | python3.14 | No fix yet |
| 24.04 LTS | python3.12 | No fix yet | |
| 22.04 LTS | python3.10 | No fix yet | |
| Red Hat Enterprise Linux (+3 more packages) | RHEL 10 | python3.12 | No fix yet |
| RHEL 10 | python3.14 | No fix yet | |
| RHEL 9 | python3.12 | No fix yet | |
| RHEL 9 | python3.14 | No fix yet | |
| RHEL 9 | python3.9 | No fix yet | |
| RHEL 8 | python3 | No fix yet | |
| RHEL 8 | python3.12 | No fix yet | |
| RHEL 8 | python36 | No fix yet |
From the Debian Security Tracker, Ubuntu security notices (CC BY-SA 4.0) and Red Hat Security Data (CC BY 4.0). Check the distro link before acting.
Patch events
Language runtimePython (CPython)
Python (CPython) security releases: 3.14.8, 3.13.16, 3.12.15, 3.11.17, 3.10.22
Upgrade to
3.14.83.13.163.12.153.11.173.10.22Why: CVE-2026-15806: Public proof-of-concept exists (SSVC exploitation: poc).
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | No | CISA KEV |
| Ransomware use | — | CISA KEV |
| EPSS (30-day exploitation probability) | 0.5% (42th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 6.3 (v4.0)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 / CISA ADP |
| SSVC exploitation | none | CISA Vulnrichment |
| SSVC automatable | No | CISA Vulnrichment |
| SSVC technical impact | partial | CISA Vulnrichment |
Affected versions (from the CVE record)#
- Python Software Foundation CPython
0to before3.16.0(affected)
Description (from the CVE record)#
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.
Quoted from the CVE Program record.