Vulnerability

CVE-2026-102356

mediumCVSS 3.1 5.0Published 6 Nov 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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 products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /yuzutech/kroki/commit/428ea380bc7db9da5c7947f908851c8461d5…
  • github.com /yuzutech/kroki/releases/tag/v0.31.2
  • github.com /yuzutech/kroki/security/advisories/GHSA-px99-rjv4-49g8

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning