PatchSiren cyber security CVE debrief
CVE-2026-102359 yuzutech CVE debrief
CVE-2026-102359: Kroki TikZ Secure Mode Local File Read via LaTeX File I/O Primitives. The vulnerability allows for local file reads in Kroki's TikZ backend, potentially disclosing sensitive information. Defenders should prioritize updating to version 0.31.2 or later and restrict access to the Kroki container user. The issue is fixed in version 0.31.2. Affected product deployments should be reviewed for exposure, and owners should be assigned for follow-up. Compensating controls should be reviewed for exposed systems while remediation is scheduled and verified.
- Vendor
- yuzutech
- Product
- kroki
- CVSS
- HIGH 7.5
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-06
- Original CVE updated
- 2026-11-12
- Advisory published
- 2026-11-06
- Advisory updated
- 2026-11-12
Who should care
Defenders and administrators of Kroki instances should assess exposure and prioritize updating to version 0.31.2 or later. Roles include security teams, system administrators, and developers using Kroki for diagram creation.
Why it matters
CVE-2026-102359 allows for local file reads in Kroki's TikZ backend, potentially disclosing sensitive information. Defenders should prioritize updating to version 0.31.2 or later and restrict access to the Kroki container user.
- Potential disclosure of mounted secrets, configuration data, credentials, private keys, or process environment data.
- Possible unauthorized access to sensitive files accessible to the Kroki container user.
- Required verification of Kroki instance exposure and remediation priority.
- Need for monitoring and restricting access to the Kroki container user.
Technical summary
The Kroki TikZ backend's secure mode allows for local file reads via LaTeX file I/O primitives. An unauthenticated actor can submit crafted LaTeX to POST /tikz/svg or the generic diagram API, causing the renderer to read any file accessible to the Kroki container user. The file contents are rendered into the returned SVG, potentially disclosing sensitive information. The issue is fixed in version 0.31.2. The -no-shell-escape option prevents shell execution but does not restrict these native file operations. TeX Live's permissive openin_any setting remains active, allowing the vulnerability to be exploited.
Defensive priority
High
Recommended defensive actions
- Review and update Kroki to version 0.31.2 or later
- Restrict access to the Kroki container user
- Monitor for suspicious activity and file reads
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The CVE record and source item provide details on the vulnerability in Kroki's TikZ backend, which allows for local file reads via LaTeX file I/O primitives when KROKI_SAFE_MODE is enabled. The issue is fixed in version 0.31.2.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-102359 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-102359
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-102359 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-102359
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Kroki: TikZ Secure Mode Local File Read via LaTeX File I/O Primitives
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/102xxx/CVE-2026-102359.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/yuzutech/kroki/security/advisories/GHSA-r54f-fq6c-53vw
Supplemental source - x_refsource_CONFIRM
-
Source reference
Unverified legacy reference
URL: https://github.com/yuzutech/kroki/commit/9108ab5b429b9dc82b76432ccf40d4d7eeba1b30
Supplemental source - x_refsource_MISC
-
Source reference
Unverified legacy reference
URL: https://github.com/yuzutech/kroki/releases/tag/v0.31.2
Supplemental source - x_refsource_MISC
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.