Remote Code Execution Vulnerability in Bolt CMS by Bolt
CVE-2026-71291

8.8HIGH

Key Information:

Vendor

Bolt

Status
Vendor
CVE Published:
5 August 2026

What is CVE-2026-71291?

Bolt CMS has a critical vulnerability where content field values can be rendered using Twig's full application-level Environment without proper sandboxing. The vulnerability arises from the implementation in src/Entity/Field.php, specifically the getTwigValue() function. This function processes values through Twig when the field's allow_twig flag is set to true, which is the default setting for Bolt's 'pages' content type. Any user with edit access can inject malicious Twig payloads, enabling them to execute arbitrary OS commands upon saving and rendering the content. This flaw poses severe risks to server integrity and data security, warranting immediate attention and mitigation efforts.

Affected Version(s)

core 0 <= 6.1

References

CVSS V3.1

Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Saidakbarxon Maxsudxonov
.