# CVE-2026-71291: Bolt CMS Server-Side Template Injection via Unsandboxed allow_twig Field Rendering

- Severity: High 8.8 (CVSS:3.1, scored by TuranSec) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-08-05T12:38:41.070Z
- Modified: 2026-10-23T21:10:00.157Z
- Weaknesses: CWE-1336
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: TuranSec

## 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.

(As written by CVE List.)

## Affected

- bolt core: up to 6.1

## References

- <https://github.com/bolt/core> (third-party-advisory)
- <https://github.com/bolt/core/blob/6.1/src/Entity/Field.php> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-71291](https://www.cve.org/CVERecord?id=CVE-2026-71291), CVE Terms of Use, modified 2026-08-10
- NVD: [CVE-2026-71291](https://nvd.nist.gov/vuln/detail/CVE-2026-71291), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-71291 · Whole record: https://cve.day/CVE-2026-71291.json · Rebuilt by cve.day 2026-11-25T22:59:31.109Z
