{"id":"CVE-2026-112770","summary":"Craft CMS before 4.18.8 and 5.11.0 Authenticated RCE via Twig group Filter Array-Callable","details":"Craft CMS 4.x before 4.18.8 and 5.x before 5.11.0 contains a remote code execution vulnerability in the Twig group filter, which invokes non-string arrow arguments as callables without the checkArrow guard used by other arrow-accepting filters. Authenticated control panel users can pass an array-callable such as FileHelper::writeToFile via element-select condition rules to write a webshell to the webroot and execute code as the web user.","aliases":["GHSA-xmwr-88vw-5ghh"],"modified":"2026-10-20T11:10:22.156252309Z","published":"2026-10-19T19:10:49.743Z","database_specific":{"cwe_ids":["CWE-94"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112770.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112770.json"},{"type":"ADVISORY","url":"https://github.com/craftcms/cms/security/advisories/GHSA-xmwr-88vw-5ghh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112770"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/craft-cms-before-4.18.8-and-5.11.0-authenticated-rce-via-twig-group-filter-array-callable"}],"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-112770.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:H/VA:H/SC:N/SI:N/SA:N"}]}