CVE-2026-102359

Source
https://cve.org/CVERecord?id=CVE-2026-102359
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-102359.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-102359
Aliases
  • GHSA-r54f-fq6c-53vw
Published
2026-11-06T17:36:09Z
Modified
2026-11-14T02:30:47Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Kroki: TikZ Secure Mode Local File Read via LaTeX File I/O Primitives
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-22"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102359.json"
}
References

Affected packages

Git / github.com/yuzutech/kroki

Affected ranges

Type
GIT
Repo
https://github.com/yuzutech/kroki
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "0.31.2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "9108ab5b429b9dc82b76432ccf40d4d7eeba1b30"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v0.31.2",
            "range":  [
                {
                    "fixed":  "25bcf6b87680b37f05e70513731593e9984ea047"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

v0.*
v0.0.11
v0.0.12
v0.0.3
v0.0.4
v0.0.6
v0.0.7
v0.0.8
v0.0.9
v0.1.0
v0.10.0
v0.11.0
v0.12.0
v0.12.1
v0.13.0
v0.14.0
v0.15.0
v0.15.1
v0.16.0
v0.17.0
v0.17.0-rc.1
v0.17.0-rc.2
v0.17.0-rc.3
v0.17.0-rc.4
v0.17.0-rc.5
v0.17.0-rc.6
v0.17.1
v0.17.2
v0.18.0
v0.19.0
v0.2.0
v0.20.0
v0.21.0
v0.21.1
v0.21.2
v0.21.3
v0.22.0
v0.23.0
v0.24.0
v0.24.1
v0.25.0
v0.26.0
v0.27.0
v0.28.0
v0.29.0
v0.29.1
v0.3.0
v0.30.0
v0.30.1
v0.31.0
v0.31.1
v0.4.0
v0.4.1
v0.5.0
v0.6.0
v0.7.0
v0.7.1
v0.8.0
v0.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-102359.json"