llamaCVEVulnerability Intelligence
/
mistune

CVE-2026-115353

Mistune before 3.3.0 Path Traversal via include Directive

Specific setups onlyParche disponiblepath traversal
Descargar PNG JSON
CVSS 4.0
9.2
Crítica
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N Fuente: CNA
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -123 d de la divulgación
Exposición27 dDesde la divulgación, 22 oct 2026, 2:13 p. m.
Detección2 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Parche 3.3.0
Monitoreo
Detectada
Fuente: OSV
Fuente: NIST NVD
Verificada
21 jun 26
22 oct 26
24 oct 26
4 nov 26
16 nov 26
19 nov 26
21 jun 26
29 jul 26
5 sept 26
12 oct 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 3.3.0 mistune · -123 d desde divulgación
Divulgación Publicada CVE-2026-115353 divulgada · CVSS 9.2 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Verificada Última verificación contra las fuentes
Resumen

Mistune before 3.3.0 contains a path traversal vulnerability in the RST include directive that allows attackers to read arbitrary files by supplying relative or absolute paths. Attackers can submit markdown containing include directives referencing ../ sequences or absolute paths to embed sensitive files like credentials or environment data in rendered HTML.

Only affects Mistune 3.2.1 and earlier when the Include directive plugin is enabled via RSTDirective([Include()]) and the application sets state.env['__file__']. Fixed in 3.3.0.

¿Qué significa?The Include directive can read files from disk based on a path in the markdown, without limiting them to the intended folder. Files readable by the rendering process, such as credentials or environment data, can have their contents embedded in the rendered HTML. With escape=False, .html files can also be included, which can lead to stored XSS.
¿Quién está afectado?Mistune versions before 3.3.0 are affected, but only when the Include directive plugin is enabled through RSTDirective([Include()]) in the plugin list and the application sets state.env['__file__'] to the markdown's source path. To check, look at your Mistune version with pip show mistune and search your code for RSTDirective and state.env['__file__'].
¿Qué hacer?Upgrade mistune to version 3.3.0 or later, which contains the fix.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Mistune version 3.2.1 or earlier (before 3.3.0).“Affecting mistune >= 0, < 3.3.0”
02
The Include directive plugin is enabled via RSTDirective([Include()]).“the only set-up is RSTDirective([Include()]) in the plugin list”
03
The application sets state.env['__file__'] to the markdown's source path.“Application sets state.env['__file__'] to the markdown's source path.”
Vector CVSS 4.0

Desglose de métricas

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

Rangos afectados

Afectada Corregida Última
mistune< 3.3.0
3.3.0
3.4.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypimistune
Corregida 3.3.0 -123 d 3.4.0 no afectada
Versiones corregidas3.3.0
Explotación

Arsenal público

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

Referencias
Fabricantehttps://github.com/lepture/mistune/security/advisories/GHSA-9jjx-3hq3-hx4j
Otrahttps://www.vulncheck.com/advisories/mistune-before-3.3.0-path-traversal-via-include-directive

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