Skip to main content

Kroki EUVDEUVD-2026-126082

| CVE-2026-129485 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-11-15 VulnCheck GHSA-976x-w3hh-23xw
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed Kroki endpoint
  2. Exploit
    POST crafted BlockDiag diagram with URL icon/background
  3. Execution
    Server fetches internal/metadata URL or local file
  4. Impact
    Read response bytes embedded in rendered SVG

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

No authentication, user interaction, or non-default configuration is required: the advisory confirms exploitation works against the default KROKI_SAFE_MODE=secure because safe mode never gated the BlockDiag binary, which is the exact condition that makes this exploitable. The only prerequisite is network reachability to a BlockDiag-family route (/blockdiag, /seqdiag, /actdiag, /nwdiag, /packetdiag, /rackdiag) on an instance at or below 0.35.0. Limiting factors on realistic impact: the server only embeds the fetched body back to the attacker when the target returns an image (other targets are a blind request), and local file read is limited to image files readable by the Kroki process; impact is read-only (no write, RCE, or availability effect). Running with KROKI_SAFE_MODE=unsafe disables the 0.36.0 fix and re-enables the behavior.

Impact

Signals are largely consistent and point to a real but moderate-priority issue. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms a remotely reachable, low-complexity, unauthenticated flaw, and because PR:N is present the unauthenticated characterization is supported by the vector rather than inferred from text. Impact is deliberately scoped low: VC:L/SC:L with VI/VA/SI/SA all N, reflecting that this is a read-oriented SSRF (reach internal services/cloud metadata and read back image-returning bodies plus local image files) rather than code execution or data destruction. The vuln.today decision label is 'this_month' (not act_now/emergency), aligning with the moderate 6.9 score. No EPSS score and no CISA KEV entry were provided, so there is no evidence of active exploitation or a modeled exploitation probability - this is not confirmed in-the-wild activity. However, the GHSA advisory contains a fully reproduced curl proof-of-concept against the then-current release, so a working public trigger is documented even though the input does not carry a 'POC: Publicly available (confirmed)' marker. Net: a genuine, easily triggered SSRF worth patching within a normal cycle, elevated by exposure to cloud-metadata theft, but not a drop-everything emergency on the signals provided. Missing data: no EPSS, no KEV status, and exploitation is bounded by the low technical impact (confidentiality only, image-returning targets or image files).

Exploit ScenarioDerived

An unauthenticated attacker who can reach a self-hosted Kroki instance sends a crafted BlockDiag-family diagram to POST /blockdiag/svg (or a sibling endpoint) with a node 'icon' or 'background' set to an internal URL such as http://169.254.169.254/, causing the server to fetch it and embed the response bytes in the returned SVG when the target returns an image. Because this works under the default KROKI_SAFE_MODE=secure and needs no authentication or user interaction (AV:N/AC:L/PR:N/UI:N), it is trivially repeatable; a working curl PoC is published in the GHSA advisory. The same attributes also accept local paths, letting the attacker read local image files readable by the Kroki process.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 15, 2026

Kroki 0.35.0 and earlier lets remote attackers make the server issue arbitrary HTTP requests and read local image files through the BlockDiag family of diagram engines (blockdiag, seqdiag, actdiag, nwdiag, packetdiag, rackdiag). A crafted diagram posted to /blockdiag/svg or a sibling endpoint with a node icon or background set to a URL causes the BlockDiag binary to fetch that URL, and when the target returns an image its bytes are embedded base64-encoded in the rendered SVG returned to the caller; a local path in the same attributes is read with open() and likewise embedded. No authentication, user interaction or non-default configuration is required - the advisory confirms the default KROKI_SAFE_MODE=secure never gated this binary - so any instance reachable on a BlockDiag route is exposed to internal service and cloud metadata probing, read-back only where the target returns an image, and read of local image files readable by the Kroki process. A proof of concept is documented and was reproduced against the 0.33.0 standalone server jar; the issue is fixed in 0.36.0, and no CISA KEV listing exists.

RemediationAI

Vendor-released patch: upgrade to Kroki 0.36.0 (io.kroki:kroki-server 0.36.0), which ships blockdiag 3.4.3 and passes its new --no-external-images flag unless KROKI_SAFE_MODE is set to unsafe, causing URL- and path-valued icon/background attributes to be ignored; the fix is in commit https://github.com/yuzutech/kroki/commit/becd3b4a86754cb08d0fe54f65e92a6cab542409. If upgrading is not immediately possible, the advisory's workarounds are to block the BlockDiag routes (/blockdiag, /seqdiag, /actdiag, /nwdiag, /packetdiag, /rackdiag) at a reverse proxy - which removes those diagram types from service, an availability trade-off for legitimate users - or to restrict the outbound network access of the Kroki container, which limits SSRF reach to internal services and cloud metadata (for example the 169.254.169.254 endpoint) but leaves local image file reads possible, since those use a filesystem open rather than a network call. Do not set KROKI_SAFE_MODE=unsafe on 0.36.0, as that disables the new flag and re-enables the vulnerable behavior.

Affected VersionsENISA

kroki 0 <0.36.0

Affected Packages

euvd kroki fix: 0.36.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a classic server-side request forgery (CWE-918) rooted in the upstream BlockDiag Python toolchain rather than in Kroki's own request handling. In blockdiag, the set_icon and set_background element setters accept any value that passes urlutil.isurl(), and get_image_size subsequently opens that value through urlopen during layout in noderenderer/base.py, for every output format - the same code path is shared by all six sibling engines because they ship one binary and one renderer. Kroki's Blockdiag.convert passed the raw diagram source to that binary without any safe-mode flag; KROKI_SAFE_MODE only restricted PlantUML, Vega, TikZ and Structurizr, so the default secure setting gave no protection here. The fetched or locally opened bytes are base64-encoded into the resulting SVG, which turns a blind SSRF into a read primitive whenever the target responds with image content, and additionally allows reading local image files the Kroki process can open. The remediation in commit becd3b4a works on both layers: it bumps the bundled builder from blockdiag 3.4.2 to 3.4.3 (which introduces a --no-external-images flag) and has Blockdiag.java inject --no-external-images whenever SafeMode != UNSAFE, ignoring URL and file-valued icon/background attributes. Note that the trigger requires the attacker to control the diagram source only; authentication requirements are unconfirmed beyond the PR:N vector indicating unauthenticated access.

Know when Kroki gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
vuln.today AI 5.8 MEDIUM

Remote, low-complexity, unauthenticated with no UI; SSRF makes the server act on other systems so S:C, with limited confidentiality (image bodies/files) and no integrity or availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Kroki before 0.36.0 contains a server-side request forgery vulnerability in the BlockDiag family of engines that allows unauthenticated attackers to make server requests via node icon and background attributes. Attackers can send crafted diagrams to POST /blockdiag/svg or sibling endpoints to query internal services or cloud metadata and read local image files from the server.

Threat Intelligence Overview

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Medium
popular self-hosted diagram-rendering service, common in docs pipelines but niche
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy