CVE-2026-102356
Kroki server-side request forgery in Mermaid companion rendering
A remote attacker with a low-privilege account can make the server send GET requests to hosts it can reach.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-102356 divulgada · CVSS 5 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| 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's optional Mermaid companion, when rendering PNG output, can be made to send HTTP or HTTPS GET requests to targets chosen by an attacker through flowchart image URLs, and this happens even when KROKI_SAFE_MODE is set to secure. An attacker can do this remotely by submitting Mermaid source, which requires low-privilege login per the deployment's configuration, and the demonstrated impact is limited to blind requests and possibly triggering state-changing GET endpoints on hosts the companion can reach.
Descripción original del registro (GitHub_M)
Kroki creates diagrams from textual descriptions. From 0.26.0 until 0.31.2, the optional Mermaid companion's mermaid/src/worker.js renders attacker-controlled flowchart image nodes in headless Chromium without a network request policy, even when KROKI_SAFE_MODE is set to secure. An actor who can submit Mermaid source and satisfy any authentication or authorization configured by the deployment can cause the companion to issue HTTP or HTTPS GET requests when requesting PNG output. Exploitation requires the Mermaid companion, PNG rendering through its headless Chromium process, a diagram-submission path available to the actor, and network reachability from the companion to the target. The demonstrated impact is limited to blind request reachability and possible state-changing GET endpoints; response exfiltration, cloud metadata access, port scanning, and access beyond the companion's network reachability are not established. This issue is fixed in version 0.31.2.
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-px99-rjv4-49g8https://github.com/yuzutech/kroki/commit/428ea380bc7db9da5c7947f908851c8461d51f82https://github.com/yuzutech/kroki/releases/tag/v0.31.2Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
