CVE-2026-102359

published 6 Nov 2026 · updated 12 Nov 2026

Kroki: TikZ Secure Mode Local File Read via LaTeX File I/O Primitives

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
yuzutech<0.31.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-102359 severity on Zeptric[![CVE-2026-102359](https://zeptric.io/badge/cve/CVE-2026-102359.svg)](https://zeptric.io/cve/CVE-2026-102359)