llamaCVEVulnerability Intelligence
/
Python Software Foundation CPython

CVE-2026-115791

Python Software Foundation CPython code execution via stdlib gzip/tarfile/zipfile CLIs

A local attacker with a low-privilege account can get a user to run a planted script with that user's privileges.

Parche disponibleuntrusted code inclusion
Descargar PNG JSON
CVSS 4.0
5.3
Media
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión3.16.0
Exposición9 dDesde la divulgación, 10 nov 2026, 11:33 a. m.
Detección3 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Sin explotación conocida, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Evaluación SSVC +1
Modificada
Explotación
Remediación
Monitoreo
Detectada +2
Fuente: OSV
Verificada
10 nov 26
11 nov 26
16 nov 26
19 nov 26
10 nov 26
12 nov 26
14 nov 26
17 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Publicada CVE-2026-115791 divulgada · CVSS 5.3 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 10 nov 2026

The Python standard library's gzip, tarfile, and zipfile command-line tools can be tricked into running attacker-supplied code. An attacker who can get a crafted archive extracted in the current directory, with a user taking action to run it, can have a malicious script such as traceback.py run locally with the user's privileges, which requires local access and low-privilege login.

Descripción original del registro (PSF)

When tarfile or zipfile command line interface (CLI) is used to decompress an archive, a Python script shadowing the stdlib can be created. Then if an error occurs during decompressing the next file, the newly created Python script is executed. This is especially true if the created Python is called traceback.py. The problem is that Python adds the current directory to sys.path when python -m MODULE is run, and the archive is also decompressed in the current directory. The fix removes sys.path[0] in gzip, tarfile and zipfile command line interface to prevent shadowing standard library modules from extracted files.

Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:L
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:P
NingunoPresentes
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:A
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:N
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
CPython< 3.16.0
3.16.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
CPython
Corregida 3.16.0 — —
Versiones corregidas3.16.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Registro
EscenarioGENERALPSF
Referencias
Fabricantehttps://mail.python.org/archives/list/security-announce@python.org/thread/ZKKA4Q7B35JEHSDIJNZ6TYKRDQJUHDAG/
Parchehttps://github.com/python/cpython/pull/161706
Análisishttp://www.openwall.com/lists/oss-security/2026/11/10/30
Reportehttps://github.com/python/cpython/issues/161705

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.