CVE-2026-71291: Bolt CMS - Remote Code Execution
- Cve: CVE-2026-71291
- Name: Bolt CMS - Remote Code Execution
- 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.
- Impact: Users with edit access can execute arbitrary OS commands as the web server user, leading to full server compromise.
- Remediation: Update to the latest version with sandboxing or disable allow_twig for untrusted users.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs edit access to content with allow_twig enabled
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00549
- Epss percentile: 0.46852
- Assignee: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
- Published at: 2026-08-05T13:24:53Z
- Age in days: 111
- Modified at: 2026-10-23T21:10:00Z
- References total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-71291
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-1336 | Improper Neutralization of Special Elements Used in a Template Engine |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/bolt/core | nvd | |
| https://github.com/bolt/core/blob/6.1/src/Entity/Field.php | nvd |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts