{"id":"CVE-2026-71291","state":"PUBLISHED","title":"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.","publishedAt":"2026-08-05T12:38:41.070Z","updatedAt":"2026-08-10T11:47:24.089Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"TuranSec"},"assigner":"TuranSec","products":["bolt core"],"affected":[{"vendor":"bolt","product":"core","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"6.1","versionType":"custom"}],"programFiles":["src/Entity/Field.php","config/bolt/contenttypes.yaml"]}],"references":["https://github.com/bolt/core","https://github.com/bolt/core/blob/6.1/src/Entity/Field.php"],"weaknesses":["CWE-1336"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/71xxx/CVE-2026-71291.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-71291","state":"PUBLISHED","datePublished":"2026-08-05T12:38:41.070Z","dateUpdated":"2026-08-10T11:47:24.089Z","assignerShortName":"TuranSec","assignerOrgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","dateReserved":"2026-08-05T12:37:57.357Z"},"containers":{"cna":{"title":"Bolt CMS Server-Side Template Injection via Unsandboxed allow_twig Field Rendering","descriptions":[{"lang":"en","value":"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":[{"vendor":"bolt","product":"core","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"6.1","versionType":"custom"}],"programFiles":["src/Entity/Field.php","config/bolt/contenttypes.yaml"]}],"references":[{"url":"https://github.com/bolt/core","tags":["third-party-advisory"]},{"url":"https://github.com/bolt/core/blob/6.1/src/Entity/Field.php","tags":["third-party-advisory"]}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1336","lang":"en","description":"CWE-1336","type":"CWE"}]}],"providerMetadata":{"shortName":"TuranSec","orgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","dateUpdated":"2026-08-10T11:47:24.089Z"},"credits":[{"lang":"en","value":"Saidakbarxon Maxsudxonov","type":"finder"}],"source":{"discovery":"EXTERNAL"},"datePublic":"2026-08-05T12:38:41.070Z"},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-05T15:46:43.858659Z","id":"CVE-2026-71291","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-05T15:47:35.805Z"}}]}}}