{"id":"CVE-2026-112771","title":"Craft CMS before 4.18.8 and 5.11.0 Twig Sandbox Allowlist Bypass via Array Filters","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() with…","severity":"medium","cvss":6.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","cvssSource":"cna","cwe":["CWE-200"],"vendor":"craftcms","product":"cms","affected":["cms >= 4.0.0 < 4.18.8","cms >= 5.0.0 < 5.11.0"],"published":"2026-10-19","updated":"2026-10-19","sourceUpdated":"2026-10-19T19:10:50.470Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-112771","references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-j697-8x93-7mp2","label":"GitHub Security Advisory (GHSA-j697-8x93-7mp2)"},{"url":"https://www.vulncheck.com/advisories/craft-cms-before-4.18.8-and-5.11.0-twig-sandbox-allowlist-bypass-via-array-filters","label":"VulnCheck Advisory: Craft CMS before 4.18.8 and 5.11.0 Twig Sandbox Allowlist Bypass via Array Filters"}],"tags":["cve.org"],"ingestedAt":"2026-10-19T19:38:06.465Z","slug":"CVE-2026-112771","body":"## Overview\n\nCraft 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.\n\n## Affected\n\n- `cms >= 4.0.0 < 4.18.8`\n- `cms >= 5.0.0 < 5.11.0`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":36,"depthScoreParts":{"impact":35.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}