警戒
Scriban LoopLimit bypass in object.from_json exhausts resources
CVE-2026-137512 ほか4件
Programs that build pages from templates can be stalled.
- CVE
- CVE-2026-137512 ほか4件
- スコア
- CVSS 8.7 · CVE-2026-137512
- 公開日
- 2026-11-07
- 初確認
8.7
製品
同時公開 scriban
対処法
Update to Scriban 7.6.0 or later. Until then, cap the size of JSON passed to object.from_json, do not render untrusted templates, and remove string.literal from the builtins exposed to them.
要約
In the Scriban template engine, object.from_json converts JSON without the LoopLimit check, so an attacker can exhaust CPU and memory. Versions before 7.6.0 are affected. The same release also fixes memory exhaustion in string and HTML builtins, a bypass in object string conversion, and state left over in reused contexts.
攻撃コード公開済み
該当する条件
- Apps that render templates with Scriban
- CVE-2026-137512 untrusted template or JSON argument passed to object.from_json
- CVE-2026-137510 untrusted template calls string.literal, html.escape and other builtins
- CVE-2026-137509 rendering a ScriptObject with many members as a string
- CVE-2026-137508 untrusted template calls object.to_json
- CVE-2026-137511 TemplateContext reused and Reset() called
製品別のインシデント: scriban
scriban のほかの最近のインシデント
CVE 5件(下のリンクはすべて新しいタブで開きます)
勧告を読む · github.com(新しいタブで開きます)
CVE 5件それぞれの内容(下のリンクはすべて新しいタブで開きます)
- CVE-2026-137512Lets JSON input bypass the loop limit and exhaust CPU and memory. CVSS 8.7 CVE-2026-137512 勧告 · CVE-2026-137512 解説
- CVE-2026-137510Lets string and HTML builtins allocate gigabytes and exhaust memory. CVSS 8.7 CVE-2026-137510 勧告 1 · CVE-2026-137510 勧告 2 · CVE-2026-137510 解説
- CVE-2026-137509Lets object string conversion exceed length limits and exhaust memory. CVSS 8.7 CVE-2026-137509 勧告 · CVE-2026-137509 解説
あと2件を表示
- CVE-2026-137508Lets object.to_json inflate output and exhaust memory. CVSS 8.7 CVE-2026-137508 勧告 · CVE-2026-137508 解説
- CVE-2026-137511Leaves earlier render state in reused contexts, so memory keeps growing. CVSS 7.6 CVE-2026-137511 勧告 1 · CVE-2026-137511 勧告 2 · CVE-2026-137511 解説