CVE-2026-112771

published 19 Oct 2026 · updated 20 Oct 2026

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

6.5MediumCVSS 6.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 4.18.8 and 5.11.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
craftcms>=4.0.0 <4.18.8, >=5.0.0 <5.11.04.18.8, 5.11.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-112771 severity on Zeptric[![CVE-2026-112771](https://zeptric.io/badge/cve/CVE-2026-112771.svg)](https://zeptric.io/cve/CVE-2026-112771)