Skip to content
CVE PROGRAM SOURCE RECORD8.8 High

CVE-2026-71291

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

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

bolt core

Default version status: unaffected

  • 0 to ≤ 6.1affected

References