جزئیات آسیبپذیری
CVE-2026-102359
Kroki: TikZ Secure Mode Local File Read via LaTeX File I/O Primitives
شرح رسمی (انگلیسی)
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.
امتیازهای CVSS
| امتیاز | نسخه | منبع | بردار |
|---|---|---|---|
| 7.5بالا | 3.1 | CVEProject cvelistV5 (CNA) (GitHub_M) | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
محصولات آسیبپذیر
| فروشنده | محصول | نسخهها | منبع |
|---|---|---|---|
| yuzutech | kroki | < 0.31.2 | CVEProject cvelistV5 (CNA) |
منابع و راهنماها
۳- https://github.com/yuzutech/kroki/security/advisories/GHSA-r54f-fq6c-53vw x_refsource_CONFIRM
- https://github.com/yuzutech/kroki/commit/9108ab5b429b9dc82b76432ccf40d4d7eeba1b30 x_refsource_MISC
- https://github.com/yuzutech/kroki/releases/tag/v0.31.2 x_refsource_MISC
اطلاعات
- تاریخ انتشار
- ۱۴۰۵/۰۸/۱۵
- آخرین بهروزرسانی
- ۱۴۰۵/۰۸/۱۵
- وضعیت
- منتشرشده
- صادرکننده (CNA)
- GitHub_M
پیشبینی بهرهبرداری (EPSS)
ضعفها (CWE)
- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')