{"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, leading to Remote Code Execution (RCE) due to the lack of sandboxing.","exploitability":"Exploitation is moderately hard as it requires crafting a payload that triggers the allow_twig flag and includes malicious code.","blast_radius":"If exploited, this could lead to full compromise of the affected system, including data theft and control of the server.","remediation":"Disable the allow_twig feature or update to the latest version of Bolt CMS that addresses this vulnerability.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","web","cms","twig","sandbox"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-09-30T09:18:18.612Z"}}