CVE-2026-71291 Bolt CMS Server-Side Template Injection via Unsandboxed allow_twig Field Rendering
HighCVSS 8.8
EPSS 0.55%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- PHP
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| bolt/core | <= 6.1 | after 6.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| bolt/core | <= 6.1 | No fix listed |
References
- github.com third-party-advisory
- github.com third-party-advisory
- ENISA EUVD EUVD-2026-53376 third-party-advisory