๐Ÿ” CVE Alert

CVE-2026-102356

MEDIUM 5.0

Kroki Mermaid companion SSRF via flowchart image URLs

CVSS Score
5.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-918
Vendor yuzutech
Product kroki
Published Nov 6, 2026
Stay Ahead of the Next One

Get instant alerts for yuzutech kroki

Be the first to know when new medium vulnerabilities affecting yuzutech kroki are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
None
Availability
None

Affected Versions

yuzutech / kroki
>= 0.26.0, < 0.31.2

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/yuzutech/kroki/security/advisories/GHSA-px99-rjv4-49g8 github.com: https://github.com/yuzutech/kroki/commit/428ea380bc7db9da5c7947f908851c8461d51f82 github.com: https://github.com/yuzutech/kroki/releases/tag/v0.31.2