CVE-2026-102356

published 6 Nov 2026 · updated 12 Nov 2026

Kroki Mermaid companion SSRF via flowchart image URLs

5.0MediumCVSS 5.0EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
yuzutech>=0.26.0 <0.31.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-102356 severity on Zeptric[![CVE-2026-102356](https://zeptric.io/badge/cve/CVE-2026-102356.svg)](https://zeptric.io/cve/CVE-2026-102356)