llamaCVEVulnerability Intelligence
/
Kroki

CVE-2026-102359

Kroki arbitrary file read in TikZ secure mode

An unauthenticated attacker can read files over the network, including secrets, credentials, and private keys.

Afecta la configuración por defectoParche disponiblepath traversal
Descargar PNG JSON
CVSS 3.1
7.5
Alta
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Fuente: CNA
ExplotaciónPoC públicaSSVC: PoC · no figura en CISA KEV
Exploits públicos0CISA-ADP reporta PoC; aún sin enlace público
Parche1 versión0.31.2
Exposición14 dDesde la divulgación, 6 nov 2026, 12:36 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.
Programa la remediación y duerme tranquilo.Ponle fecha: las tareas sin fecha son leyendas.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada +2
Fuente: OSV
Verificada
6 nov 26
11 nov 26
16 nov 26
21 nov 26
6 nov 26
10 nov 26
14 nov 26
17 nov 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-102359 divulgada · CVSS 7.5 (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 Evaluación SSVC CISA-ADP · explotación PoC pública
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 · 6 nov 2026

Kroki, a service that turns text descriptions into diagrams, has a flaw in its TikZ safe mode that lets an unauthenticated attacker read arbitrary files the Kroki container can access, remotely over the network, by submitting crafted LaTeX to the rendering endpoints. The file contents are returned inside the rendered SVG, which can expose secrets, configuration, credentials, or private keys.

Kroki 0.31.1 and earlier with TikZ enabled, which is the default, can expose files readable by the container user when TeX Live's openin_any is permissive. Fixed in 0.31.2.

¿Qué significa?The TikZ renderer's LaTeX file I/O primitives can read local files. An unauthenticated remote request can receive the contents of any file the Kroki container user can read, embedded in the SVG response, which may include secrets, credentials, private keys or environment data.
¿Quién está afectado?Kroki 0.31.1 and earlier with TikZ enabled, which is the default, and where TeX Live's openin_any is set to allow any path, as it is by default. To check, look at the installed Kroki version and whether TikZ is enabled in the deployment, and at the openin_any setting in TeX Live's texmf.cnf.
¿Qué hacer?Upgrade Kroki to version 0.31.2, which is the fixed version named in the changelog.
Descripción original del registro (GitHub_M)

Kroki creates diagrams from textual descriptions. Prior to 0.31.2, the TikZ backend's tikz/tikz2svg guard used when KROKI_SAFE_MODE is enabled blocks only \verbatiminput while allowing native TeX file-read primitives including \openin, \read, \input, and \include. TeX Live's permissive openin_any setting remains active, so an unauthenticated actor can submit crafted LaTeX to POST /tikz/svg or the generic diagram API and cause the renderer to read any file accessible to the Kroki container user. The file contents are rendered into the returned SVG, which may disclose mounted secrets, configuration data, credentials, private keys, or process environment data. The -no-shell-escape option prevents shell execution but does not restrict these native file operations. This issue is fixed in version 0.31.2.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
TeX Live's openin_any setting is permissive (allow any path), as it is by default.“Because TeX Live ships with openin_any=a (allow any path) by default”
02
Kroki version 0.31.1 or earlier with TikZ enabled.“with TikZ enabled — which is the default”
¿Quién debe revisar?Teams running yuzutech Kroki 0.31.1 or earlier with TikZ enabled, including default installs and the official yuzutech/kroki Docker image.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
10.0/ 10Muy alto
Vector 10.0 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida
kroki< 0.31.2
0.31.2
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
kroki
Corregida 0.31.2 — —
Versiones corregidas0.31.2
Explotación

Arsenal público

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

Referencias
Fabricantehttps://github.com/yuzutech/kroki/security/advisories/GHSA-r54f-fq6c-53vw
Otrahttps://github.com/yuzutech/kroki/commit/9108ab5b429b9dc82b76432ccf40d4d7eeba1b30
Otrahttps://github.com/yuzutech/kroki/releases/tag/v0.31.2

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