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

Published Oct 19, 2026
·
Updated

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 Software

1 affected component
Craft CMS Craft CMS>=4.0.0<4.18.8, >=5.0.0<5.11.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Craft CMS to a version that resolves this vulnerability.

    Fixed in 4.18.8
  2. Upgrade

    Upgrade Craft CMS to a version that resolves this vulnerability.

    Fixed in 5.11.0

Event History

Oct 19, 2026
CVE Published
via MITRE·07:10 PM
Data Sourced
via MITRE·07:10 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated Craft CMS Control Panel user can exploit it. The provided data does not state that unauthenticated visitors or front-end users can trigger it.

2

What access or input is required for exploitation?

The attacker needs Control Panel authentication and must be able to supply dot-path keys to the affected Twig array filters. The vulnerable filters are column, contains, filterByValue, index, where, and multisort.

3

What information could be exposed?

An attacker can traverse the craft global and disclose the securityKey, database credentials, and authentication tokens. The stated impact is confidentiality loss; no integrity or availability impact is identified.

4

Which releases are affected?

Affected releases are Craft CMS 4.0.0 through versions before 4.18.8, and 5.0.0 through versions before 5.11.0. Upgrading to 4.18.8 or 5.11.0 addresses the affected version ranges.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203