Skip to content

Vulnerability in Bolt Cms

CVE-2026-71291 First seen on SecPulse

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Bolt CMSでは、コンテンツのフィールド値がサンドボックスなしのTwigで描画されるため、サーバー側テンプレート注入(SSTI)により遠隔から任意のコードを実行されるおそれがあります。CVSSの基本値は8.8で、深刻度は高とされています。修正版の情報は現時点で確認できていないため、最新の情報を確認してください。

What is the problem

Bolt CMSでTwigのサンドボックスなしでのレンダリングが行え、任意のOSコマンドが実行可能。

Affected scope

Bolt CMSのcontent fieldに関する部分。

Severity

任意のOSコマンドが実行可能で、重大なリモートコード実行脆弱性となる。

How to fix

Twigのsandbox機能を有効にして、サンドボックス内でのテンプレートレンダリングを行う。

Workaround

管理者がcontent fieldの"allow_twig"をfalseに設定し、サンドボックスされていないTwigの実行を防ぐ。

Detection

サーバーログでTwigのテンプレートエラーや不正なコマンド実行の形跡を確認する。

Original description The description as published by the source.

Bolt CMS renders content field values through Twig's full application-level Environment with no SandboxExtension registered anywhere in the codebase. In src/Entity/Field.php, getTwigValue calls shouldBeRenderedAsTwig, which gates rendering only on the field definition's allow_twig flag and a regex checking for , , or ; when true, the raw field value is compiled and rendered via with no sandboxing.

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details