CVE-2026-7774: fallo de gravedad media en Python Software Foundation CPython
tarfile.data_filter path traversal bypass allows writing outside the extraction directory
Publicada el · Actualizada el
Aviso por correo cuando entre en el KEV, tenga PoC pública o suba de nota.
13Vexday Risk Score
Sin señal de explotación. Ningún artefacto público de explotación conocido hasta ahora.
ssvc Trackcvss 6.9epss 0.6%
tarfile.data_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended extraction directory. This allowed a malicious tar archive to cause tarfile.extractall() to write files outside the destination directory, subject to the permissions of the extracting process.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Productos afectados
Python Software Foundation · CPythonCVEs relacionadas — Python Software Foundation CPython
En el mismo producto, de las más peligrosas a las menos.
CVE-2024-7592HIGHQuadratic complexity parsing cookies with backslashesEPSS 2.3%CVE-2024-6232HIGHRegular-expression DoS when parsing TarFile headersEPSS 2.2%CVE-2024-12254HIGHUnbounded memory buffering in SelectorSocketTransport.writelines()EPSS 1.9%CVE-2025-13836MEDIUMExcessive read buffering DoS in http.clientEPSS 1.7%CVE-2025-0938MEDIUMURL parser allowed square brackets in domain namesEPSS 1.5%CVE-2025-4138HIGHBypassing extraction filter to create symlinks to arbitrary targets outside extraction directoryEPSS 1.5%
Referencias
https://github.com/python/cpython/commit/0478bd83d82b255e0f29f613367a59d261e7eaa2https://github.com/python/cpython/commit/0d28f5e46e151718972dfabd91205444d0037b6dhttps://github.com/python/cpython/commit/10a13bee3c24f9c62b602e696334ff2272a40efchttps://github.com/python/cpython/commit/578411982c16f753f4893532510099ef665117dahttps://github.com/python/cpython/commit/5cf47a248c35c375d610b87b2f72fd1ed454b558https://github.com/python/cpython/commit/74cca9a92fb7d653e404843a56b8bdc7b0afdbbfhttps://github.com/python/cpython/commit/c063191cb7f9170f9565e305f8aa2b79ab2bf609https://github.com/python/cpython/issues/149486https://github.com/python/cpython/pull/149487https://mail.python.org/archives/list/security-announce@python.org/thread/4FU62L2M6RMMHT2QPGQNPEHHUND7CEX5/http://www.openwall.com/lists/oss-security/2026/06/04/9