Skip to content
OpenAdvisories
High · 8.8 CVE-2026-71291 EUVD-2026-53376GHSA-m6xj-xx3f-5vv9

Bolt CMS Server-Side Template Injection via Unsandboxed allow_twig Field Rendering

Published Aug 5, 2026 · Updated Aug 10, 2026 · Assigned by TuranSec

Description

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.

Affected products

VendorProductAffectedFixed
bolt core ≤ 6.1 —

References