cve.bz

CVE-2026-19672 python software foundation cpython: Path traversal

6.3 mediumEPSS 0.5%

Medium (6.3) in python software foundation cpython. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

6.3 medium
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
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 42nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-08-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-19672 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-19672?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-19672?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-19672 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Python Software Foundation CPythonbefore 3.16.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13python3.13no fix listedDEBIAN-CVE-2026-19672
Debian14python3.143.14.7-3DEBIAN-CVE-2026-19672
Debian14python3.153.15.0~rc2-1DEBIAN-CVE-2026-19672
Ubuntu22.04:LTSpython3.10no fix listedUBUNTU-CVE-2026-19672
Ubuntu24.04:LTSpython3.12no fix listedUBUNTU-CVE-2026-19672
Ubuntu26.04:LTS, 26.10python3.14no fix listedUBUNTU-CVE-2026-19672
UbuntuPro:14.04:LTSpython2.7, python3.4, python3.5no fix listedUBUNTU-CVE-2026-19672
UbuntuPro:16.04:LTSpython2.7, python3.5no fix listedUBUNTU-CVE-2026-19672
UbuntuPro:18.04:LTSpython2.7, python3.6, python3.7 and 1 moreno fix listedUBUNTU-CVE-2026-19672
UbuntuPro:20.04:LTSpython2.7, python3.8, python3.9no fix listedUBUNTU-CVE-2026-19672
UbuntuPro:22.04:LTSpython2.7, python3.11no fix listedUBUNTU-CVE-2026-19672
Red Hathummingbird:1python3, python3.14, python3-idle and 13 more0:3.14.7-1.1.hum1RHSA-2026:65505
Red Hathummingbird:1python3.10, python3.10-idle, python3.10-libs and 4 more0:3.10.21-1.1.hum1RHSA-2026:65513
Red Hathummingbird:1python3.11, python3.11-idle, python3.11-libs and 4 more0:3.11.16-1.2.hum1RHSA-2026:65525
Red Hathummingbird:1python3.12, python3.12-idle, python3.12-libs and 4 more0:3.12.14-1.1.hum1RHSA-2026:65531
Red Hathummingbird:1python3.13, python3.13-idle, python3.13-libs and 6 more0:3.13.15-1.1.hum1RHSA-2026:65567
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 11 morepython3, python3-core3.6.15-150300.10.129.1SUSE-SU-2026:4754-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morepython311, python311-core, python311-documentation3.11.16-150400.9.102.1SUSE-SU-2026:4396-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morepython311, python311-core, python311-documentation3.11.17-150400.9.105.1SUSE-SU-2026:4809-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 morepython310, python310-core3.10.22-150400.4.129.1SUSE-SU-2026:4630-1
SUSELinux Enterprise Module for Basesystem 15 SP7python311-core3.11.17-150600.3.74.1SUSE-SU-2026:4946-1
SUSELinux Enterprise Module for Development Tools 15 SP7python3-core3.6.15-150300.10.129.1SUSE-SU-2026:4754-1
SUSELinux Enterprise Module for Package Hub 15 SP7python, python-base2.7.18-150000.133.1SUSE-SU-2026:4411-1
SUSELinux Enterprise Module for Public Cloud 15 SP4python311, python311-core3.11.16-150400.9.102.1SUSE-SU-2026:4396-1
SUSELinux Enterprise Module for Public Cloud 15 SP4python311, python311-core3.11.17-150400.9.105.1SUSE-SU-2026:4809-1
SUSELinux Enterprise Module for Python 3 15 SP7python313, python313-core3.13.16-150700.4.61.1SUSE-SU-2026:4941-1
SUSELinux Enterprise Module for Python 3 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6python311, python311-core3.11.17-150600.3.74.1SUSE-SU-2026:4946-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5python3, python3-base3.4.10-25.199.1SUSE-SU-2026:4744-1
6 more for SUSE in the JSON and on SUSE's page.
openSUSETumbleweedpython3103.10.21-2.1openSUSE-SU-2026:11949-1
openSUSETumbleweedpython3113.11.16-2.1openSUSE-SU-2026:11886-1
openSUSETumbleweedpython3123.12.14-2.1openSUSE-SU-2026:11975-1
openSUSETumbleweedpython3133.13.15-1.1openSUSE-SU-2026:11817-1
openSUSETumbleweedpython3143.14.7-2.1openSUSE-SU-2026:11868-1
openSUSETumbleweedpython3153.15.0~rc2-1.1openSUSE-SU-2026:11748-1
Alpinev3.21, v3.22, v3.23python33.12.15-r0ALPINE-CVE-2026-19672
Alpinev3.24python33.14.8-r0ALPINE-CVE-2026-19672
Azure Linux3python-pyno fix listedAZL-110510
Azure Linux3python33.12.14-2AZL-97038
Alpaquita23python33.11.16-r1BELL-CVE-2026-19672
Alpaquita25python33.12.14-r1BELL-CVE-2026-19672
Alpaquitastreampython33.14.7-r1BELL-CVE-2026-19672
BellSoft Hardened Containers23python33.11.16-r1BELL-CVE-2026-19672
BellSoft Hardened Containers25python33.12.14-r1BELL-CVE-2026-19672
BellSoft Hardened Containersstreampython33.14.7-r1BELL-CVE-2026-19672

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Hardened Imagespython3-14-main-3.14.7-1.1.hum1Fixed 2026-09-08RHSA-2026:65505
Red Hat Hardened Imagespython3-10-main-3.10.21-1.1.hum1Fixed 2026-09-08RHSA-2026:65513
Red Hat Hardened Imagespython3-11-main-3.11.16-1.2.hum1Fixed 2026-09-08RHSA-2026:65525
Red Hat Hardened Imagespython3-12-main-3.12.14-1.1.hum1Fixed 2026-09-08RHSA-2026:65531
Red Hat Hardened Imagespython3-13-main-3.13.15-1.1.hum1Fixed 2026-09-08RHSA-2026:65567
Red Hat Enterprise Linux 10python3.12Fix deferred
Red Hat Enterprise Linux 10python3.14Fix deferred
Red Hat Enterprise Linux 6pythonFix deferred
Red Hat Enterprise Linux 7pythonFix deferred
Red Hat Enterprise Linux 7python3Fix deferred
Red Hat Enterprise Linux 8python3Fix deferred
Red Hat Enterprise Linux 8python3.12Fix deferred
Red Hat Enterprise Linux 8python36:3.6/python36Fix deferred
Red Hat Enterprise Linux 9python3.12Fix deferred
Red Hat Enterprise Linux 9python3.14Fix deferred
Red Hat Enterprise Linux 9python3.9Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-aws-cuda-rhel9Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-azure-cuda-rhel9Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-azure-rocm-rhel9Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-cuda-rhel9Fix deferred
10 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-19672.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON