{"id":"CVE-2026-112771","summary":"Craft CMS before 4.18.8 and 5.11.0 Twig Sandbox Allowlist Bypass via Array Filters","details":"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.","aliases":["GHSA-j697-8x93-7mp2"],"modified":"2026-10-20T11:18:26.013849462Z","published":"2026-10-19T19:10:50.470Z","database_specific":{"cwe_ids":["CWE-200"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112771.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112771.json"},{"type":"ADVISORY","url":"https://github.com/craftcms/cms/security/advisories/GHSA-j697-8x93-7mp2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112771"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/craft-cms-before-4.18.8-and-5.11.0-twig-sandbox-allowlist-bypass-via-array-filters"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/craftcms/cms","events":[{"introduced":"982efcd14d7e93a1a54f0905b61f242de6b53d8a"},{"fixed":"feda70e264a9330919bea9eb607148198135afd4"},{"introduced":"f6a8fb685d44e387435825e3a96809eeda4973a6"},{"fixed":"2255717bfd5cc502751601aa68bf72eea035cd47"}],"database_specific":{"extracted_events":[{"introduced":"4.0.0"},{"fixed":"4.18.8"},{"introduced":"5.0.0"},{"fixed":"5.11.0"}],"source":"AFFECTED_FIELD"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-112771.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}]}