{"id":"CVE-2026-71291","published":"2026-08-05T13:24:53.820","lastModified":"2026-08-10T12:17:31.753","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.","cvssScore":8.8,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwes":["CWE-1336"],"vendors":[],"products":[],"references":[{"url":"https://github.com/bolt/core","tags":[]},{"url":"https://github.com/bolt/core/blob/6.1/src/Entity/Field.php","tags":[]}],"exploitRefs":[{"url":"https://github.com/bolt/core","tags":[]},{"url":"https://github.com/bolt/core/blob/6.1/src/Entity/Field.php","tags":[]}],"hasPoc":true,"ai":{"summary":"The flaw allows untrusted content to be executed as Twig templates without sandboxing, enabling Remote Code Execution (RCE).","exploitability":"Exploitation requires access to field values and knowledge of the allow_twig flag configuration; moderate difficulty.","blast_radius":"If exploited, it could lead to full server compromise affecting all users and data on the site.","remediation":"Disable or remove the allow_twig flag from fields that do not require Twig rendering or update Bolt CMS to a patched version.","tags":["rce","web","cms","security"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-08-11T06:47:51.056Z"}}