CVE-2026-102356: Kroki - Server-Side Request Forgery
- Cve: CVE-2026-102356
- Name: Kroki - Server-Side Request Forgery
- 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.
- Impact: Attackers can trigger blind outbound GET requests from the companion, potentially reaching internal endpoints and state-changing GET services.
- Remediation: Upgrade to version 0.31.2 or later.
- Vulnerability type: server_side_request_forgery
- Requirement type: logged_in
- Requirements: Attacker must be able to submit Mermaid source and satisfy deployment authentication/authorization; Mermaid companion with PNG rendering and network reachability required.
- Labels source: securitycontext
- Severity: medium
- Cvss score: 5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
- Epss score: 0.00234
- Epss percentile: 0.14277
- Assignee: [email protected]
- Published at: 2026-11-06T18:17:36Z
- Age in days: 18
- Modified at: 2026-11-12T22:18:51Z
- References total: 3
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-102356
- Nvd status: deferred
- Checked, none or zero: vulnerability impact, patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-918 | Server-Side Request Forgery |
References
Same in every row:
- Source: nvd
- Tags:
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| yuzutech/kroki | commit, fix, releases, security_advisory | yes | /v1/repositories/yuzutech/kroki |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts