CVE-2026-19672
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.
CVSS
- Versión: 4.0
- Vector: 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
- Puntuación base: 6.3
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.52%
- Percentil entre todas las CVEs puntuadas: 42
- Fecha de la puntuación: 6/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
Tecnologías afectadas (1)
⚠ Inferidas por IA a partir de la descripción — NVD aún no ha analizado esta CVE; no son CPE verificados.
CWE
- CWE-22
Referencias
- https://github.com/python/cpython/pull/156000
- https://github.com/python/cpython/pull/156000
- https://github.com/python/cpython/pull/156000
- https://github.com/python/cpython/pull/156000
- https://github.com/python/cpython/pull/156000
- https://github.com/python/cpython/pull/156000
- https://github.com/python/cpython/pull/156000
- https://github.com/python/cpython/pull/156000
- https://github.com/python/cpython/pull/156000
- https://github.com/python/cpython/pull/156000
- https://github.com/python/cpython/pull/156000
- https://github.com/python/cpython/pull/156000
- https://github.com/python/cpython/pull/156000
- https://github.com/python/cpython/pull/156000
- https://github.com/python/cpython/pull/156000
- https://github.com/python/cpython/pull/156000
- https://mail.python.org/archives/list/security-announce@python.org/thread/J2WT2ALRWEXQJOB3C7Q2HYWUXP3CINWO/
- http://www.openwall.com/lists/oss-security/2026/08/25/10
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-19672",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-19672",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-08-26T19:28:09.797384Z"
}
}
],
"cvssMetricV40": [
{
"type": "Secondary",
"source": "cna@python.org",
"cvssData": {
"Safety": "NOT_DEFINED",
"version": "4.0",
"Recovery": "NOT_DEFINED",
"baseScore": 6.3,
"Automatable": "NOT_DEFINED",
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"valueDensity": "NOT_DEFINED",
"vectorString": "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",
"exploitMaturity": "NOT_DEFINED",
"providerUrgency": "NOT_DEFINED",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"privilegesRequired": "NONE",
"subIntegrityImpact": "LOW",
"vulnIntegrityImpact": "NONE",
"integrityRequirement": "NOT_DEFINED",
"modifiedAttackVector": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"vulnAvailabilityImpact": "NONE",
"availabilityRequirement": "NOT_DEFINED",
"modifiedUserInteraction": "NOT_DEFINED",
"modifiedAttackComplexity": "NOT_DEFINED",
"subConfidentialityImpact": "NONE",
"vulnConfidentialityImpact": "NONE",
"confidentialityRequirement": "NOT_DEFINED",
"modifiedAttackRequirements": "NOT_DEFINED",
"modifiedPrivilegesRequired": "NOT_DEFINED",
"modifiedSubIntegrityImpact": "NOT_DEFINED",
"modifiedVulnIntegrityImpact": "NOT_DEFINED",
"vulnerabilityResponseEffort": "NOT_DEFINED",
"modifiedSubAvailabilityImpact": "NOT_DEFINED",
"modifiedVulnAvailabilityImpact": "NOT_DEFINED",
"modifiedSubConfidentialityImpact": "NOT_DEFINED",
"modifiedVulnConfidentialityImpact": "NOT_DEFINED"
}
}
]
},
"affected": [
{
"source": "cna@python.org",
"affectedData": [
{
"repo": "https://github.com/python/cpython",
"vendor": "Python Software Foundation",
"modules": [
"tarfile"
],
"product": "CPython",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "3.16.0",
"versionType": "python"
}
],
"defaultStatus": "unaffected"
}
]
}
],
"published": "2026-08-19T16:17:06.593",
"references": [
{
"url": "https://github.com/python/cpython/pull/156000",
"source": "cna@python.org"
},
{
"url": "https://github.com/python/cpython/pull/156000",
"source": "cna@python.org"
},
{
"url": "https://github.com/python/cpython/pull/156000",
"source": "cna@python.org"
},
{
"url": "https://github.com/python/cpython/pull/156000",
"source": "cna@python.org"
},
{
"url": "https://github.com/python/cpython/pull/156000",
"source": "cna@python.org"
},
{
"url": "https://github.com/python/cpython/pull/156000",
"source": "cna@python.org"
},
{
"url": "https://github.com/python/cpython/pull/156000",
"source": "cna@python.org"
},
{
"url": "https://github.com/python/cpython/pull/156000",
"source": "cna@python.org"
},
{
"url": "https://github.com/python/cpython/pull/156000",
"source": "cna@python.org"
},
{
"url": "https://github.com/python/cpython/pull/156000",
"source": "cna@python.org"
},
{
"url": "https://github.com/python/cpython/pull/156000",
"source": "cna@python.org"
},
{
"url": "https://github.com/python/cpython/pull/156000",
"source": "cna@python.org"
},
{
"url": "https://github.com/python/cpython/pull/156000",
"source": "cna@python.org"
},
{
"url": "https://github.com/python/cpython/pull/156000",
"source": "cna@python.org"
},
{
"url": "https://github.com/python/cpython/pull/156000",
"source": "cna@python.org"
},
{
"url": "https://github.com/python/cpython/pull/156000",
"source": "cna@python.org"
},
{
"url": "https://mail.python.org/archives/list/security-announce@python.org/thread/J2WT2ALRWEXQJOB3C7Q2HYWUXP3CINWO/",
"source": "cna@python.org"
},
{
"url": "http://www.openwall.com/lists/oss-security/2026/08/25/10",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Awaiting Analysis",
"weaknesses": [
{
"type": "Secondary",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"description": [
{
"lang": "en",
"value": "CWE-22"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "The tarfile module's tar and data\n extraction filters created directories outside the destination for \nmembers 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.\n\nOnly\n empty directories are created outside the destination. Member contents \nare still extracted inside it. To return to the destination the member's\n name must contain the destination directory's own final component, so \nextraction into a secure randomised directory is not affected.\n\nThis affects POSIX platforms only. On Windows, .. components are collapsed before the path reaches the filesystem, so the directories outside the destination are never created."
}
],
"lastModified": "2026-08-28T21:16:15.740",
"sourceIdentifier": "cna@python.org"
}