Skip to main content
← All vulnerabilities
CVE-2026-112771GHSA-J697-8X93-7MP2

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.18.8, 5.11.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • craftcms cms

    From 4.0.0 · fixed in 4.18.8

  • craftcms cms

    From 5.0.0 · fixed in 5.11.0

References 2

GitHub · craftcms/cms

vulncheck.com