Bolt CMS Server-Side Template Injection via Unsandboxed allow_twig Field Rendering
cve-program · CVE-2026-71291
PublishedBolt 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-71291 · CVE overview and exploitation status
cve-program · CVE-2026-71291
Related changes
Linked by CVE identifierNo related changes are available here.