Skip to content
CVE PROGRAM SOURCE RECORD7.1 High

CVE-2026-112771

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

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

craftcms cms

Default version status: unaffected

  • 4.0.0 to < 4.18.8affected
  • 4.18.8unaffected

craftcms cms

Default version status: unaffected

  • 5.0.0 to < 5.11.0affected
  • 5.11.0unaffected

References