Vulnerability · Published Aug 5, 2026 · Assigned by TuranSec
CVE-2026-71291Bolt CMS Server-Side Template Injection via Unsandboxed allow_twig Field Rendering
High 8.8
In plain English
A high-severity security flaw in core from bolt. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities).
Official 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 (as reported)
Weakness: CWE-1336 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/bolt/core third-party-advisory
- https://github.com/bolt/core/blob/6.1/src/Entity/Field.php third-party-advisory