CVE-2026-71291: CWE-1336 in bolt core
CVE-2026-71291 is a high-severity vulnerability in Bolt CMS core where content fields are rendered using Twig without sandboxing. The default configuration allows editors to inject Twig templates that execute arbitrary OS commands as the web server user, leading to remote code execution. This occurs because the allow_twig flag is enabled by default on the pages content type, and rendering is gated only by a regex check without sandbox restrictions.
AI Analysis
Technical Summary
Bolt CMS renders content field values through Twig's full application-level Environment without registering any SandboxExtension. The getTwigValue() method calls shouldBeRenderedAsTwig(), which allows rendering if the field's allow_twig flag is true and the content contains Twig delimiters. The raw field value is then compiled and rendered with no sandboxing, enabling any user with edit access to the affected content type to inject Twig payloads that execute arbitrary OS commands. This results in remote code execution as the web server user. The vulnerability is identified as CWE-1336 and has a CVSS 3.1 score of 8.8 (high severity). No patch or official remediation is currently documented.
Potential Impact
An attacker with edit access to the default 'pages' content type can execute arbitrary operating system commands on the server hosting Bolt CMS. This leads to full remote code execution with the privileges of the web server user, compromising confidentiality, integrity, and availability of the system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict edit access to trusted users only and consider disabling the allow_twig flag on content fields if possible. Monitor vendor channels for updates and apply official patches once released.
CVE-2026-71291: CWE-1336 in bolt core
Description
CVE-2026-71291 is a high-severity vulnerability in Bolt CMS core where content fields are rendered using Twig without sandboxing. The default configuration allows editors to inject Twig templates that execute arbitrary OS commands as the web server user, leading to remote code execution. This occurs because the allow_twig flag is enabled by default on the pages content type, and rendering is gated only by a regex check without sandbox restrictions.
CVSS v3.1
Score 8.8high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Bolt CMS renders content field values through Twig's full application-level Environment without registering any SandboxExtension. The getTwigValue() method calls shouldBeRenderedAsTwig(), which allows rendering if the field's allow_twig flag is true and the content contains Twig delimiters. The raw field value is then compiled and rendered with no sandboxing, enabling any user with edit access to the affected content type to inject Twig payloads that execute arbitrary OS commands. This results in remote code execution as the web server user. The vulnerability is identified as CWE-1336 and has a CVSS 3.1 score of 8.8 (high severity). No patch or official remediation is currently documented.
Potential Impact
An attacker with edit access to the default 'pages' content type can execute arbitrary operating system commands on the server hosting Bolt CMS. This leads to full remote code execution with the privileges of the web server user, compromising confidentiality, integrity, and availability of the system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict edit access to trusted users only and consider disabling the allow_twig flag on content fields if possible. Monitor vendor channels for updates and apply official patches once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- TuranSec
- Date Reserved
- 2026-08-05T12:37:57.357Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7336e7bf8831d539ed92fa
Added to database: 08/05/2026, 13:13:11 UTC
Last enriched: 08/05/2026, 13:26:26 UTC
Last updated: 08/05/2026, 13:26:26 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.