Bolt CMS Server-Side Template Injection via Unsandboxed allow_twig Field Rendering
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-1336.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-71291
- 2026-10-03 Alias added: GHSA-m6xj-xx3f-5vv9
References
More Bolt vulnerabilities
- TI-2022-16851 Bolt CMS contains a vulnerability in version 5.1.12 and below that allows an… CVSS 3.1HIGH 8.8
- TI-2024-06761 Bolt CMS Showcase Creation showcases cross site scripting CVSS 4.0MEDIUM 5.3
- TI-2024-06760 Bolt CMS Entry Preview page cross site scripting CVSS 4.0MEDIUM 5.3
- TI-2026-09940 Bolt CMS HTML Attribute TextType.php HTML injection CVSS 4.0MEDIUM 5.1
- TI-2025-24250 Bolt CMS Authenticated Remote Code Execution via Profile Injection and File Rename CVSS 4.0HIGH 7.5
- TI-2021-17367 Bolt CMS <= 4.2 is vulnerable to Remote Code Execution. CVSS 3.1HIGH 8.8
Sources
- CVE-2026-71291 · CVE Program
- CVE-2026-71291 · NVD
- FIRST EPSS
- GHSA-m6xj-xx3f-5vv9 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences