CVE Catalog

CVE-2026-71291

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.31%

23th percentile - higher than 23% of all known CVEs

Summary

Bolt CMS renders content field values through Twig's full application-level Environment with no SandboxExtension registered. In src/Entity/Field.php, getTwigValue calls shouldBeRenderedAsTwig, which gates rendering only on the field definition's allow_twig flag and a regex, then compiles and renders the raw value without sandboxing.

Risk Assessment

An attacker can inject malicious Twig template code, potentially leading to remote code execution or unauthorized data access.

Recommendation

Update Bolt CMS to a version that registers SandboxExtension or restricts Twig rendering to trusted fields.

Other vulnerabilities in Bolt CMS

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS