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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| 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 |
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.
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.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
kroki |
Corregida | 0.31.2 | — | — |
0.31.2Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/yuzutech/kroki/security/advisories/GHSA-r54f-fq6c-53vwhttps://github.com/yuzutech/kroki/commit/9108ab5b429b9dc82b76432ccf40d4d7eeba1b30https://github.com/yuzutech/kroki/releases/tag/v0.31.2Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
