StraitOfVuln
Latest / CVE-2026-102359

CVE-2026-102359

HighCVSS 7.5 (v3.1)Deferred
CVE.org ↗NVD ↗

Description

Kroki creates diagrams from textual descriptions. Prior to 0.31.2, the TikZ backend's tikz/tikz2svg guard used when KROKI_SAFE_MODE is enabled blocks only \verbatiminput while allowing native TeX file-read primitives including \openin, \read, \input, and \include. TeX Live's permissive openin_any setting remains active, so an unauthenticated actor can submit crafted LaTeX to POST /tikz/svg or the generic diagram API and cause the renderer to read any file accessible to the Kroki container user. The file contents are rendered into the returned SVG, which may disclose mounted secrets, configuration data, credentials, private keys, or process environment data. The -no-shell-escape option prevents shell execution but does not restrict these native file operations. This issue is fixed in version 0.31.2.

Details

CVE ID
CVE-2026-102359
Published / updated
06 Nov 2026, 18:17 UTC · last modified 12 Nov 2026, 22:11 UTC
Severity
HIGH
CVSS score
7.5 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N · Attack vector: Network
Affected vendor
yuzutech
Affected products
kroki
Affected versions
kroki: < 0.31.2
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Not stated in the data. Check the vendor advisory.
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
2.03% probability of exploitation in the next 30 days · 82% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
security-advisories@github.com