Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-112771 EUVD-2026-104577GHSA-238j-2hq5-wrgg

Craft CMS before 4.18.8 and 5.11.0 Twig Sandbox Allowlist Bypass via Array Filters

Published Oct 19, 2026 · Updated Oct 20, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
craftcms cms 4.0.0 – < 4.18.8, 5.0.0 – < 5.11.0 4.18.8

References