Skip to content

CVE-2026-112771 Craft CMS before 4.18.8 and 5.11.0 Twig Sandbox Allowlist Bypass via Array Filters

HighCVSS 7.1 EPSS 0.32%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

Craft CMS 4.0.0 before 4.18.8 and 5.0.0 before 5.11.0 contains a Twig sandbox allowlist bypass because the column, contains, filterByValue, index, where, and multisort filters resolve caller-supplied keys via ArrayHelper::getValue() without consulting the sandbox security policy. Authenticated Control Panel users can supply dot-path keys to traverse the craft global and disclose the securityKey, database credentials, and auth tokens.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
craftcms cms >= 4.0.0, < 4.18.8; >= 5.0.0, < 5.11.0 4.18.8, 5.11.0 Fixed

Affected products

ProductAffected versionsFixed in
craftcms cms >= 4.0.0, < 4.18.8 4.18.8
craftcms cms >= 5.0.0, < 5.11.0 5.11.0

References