- Home
- Vulnerabilities
- CVE-2026-102359
CVE-2026-102359
Kroki: TikZ Secure Mode Local File Read via LaTeX File I/O Primitives
Summary
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 products and versions
yuzutech (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| kroki | Versions not specified | — | CNA (vendor or assigner) |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
Kroki TikZ Backend < 0.31.2 - Local File Readofficial source
Nuclei template
nuclei -u https://VOTRE-HOTE -t http/cves/2026/CVE-2026-102359.yamlSource : Open
Public modules and templates
- Nuclei detection template · https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-102359.yaml
Timeline
- — CVE published (cve)
- — Nuclei detection template (nuclei) date first seen
References
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- CNA (vendor or assigner)
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N(CVSS 3.1, CNA:GitHub_M)- Weakness
- CWE-22 · Traversée de chemin / fichiers