CVE-2026-109305GHSA-vfcw-xv8p-8rj2
Craft CMS 5.10.2 before 5.10.14 Twig Sandbox Bypass RCE via has some/has every
craftcms cms
CVSS
8.7HighExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.48%Chance of exploitation activity in the next 30 days, higher than 40% of CVEs. Scored 23 Oct 2026FIRST EPSS
What fixes it
- 5.10.14cmsCVE List
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
Craft CMS from 5.10.2 before 5.10.14 contains a Twig sandbox bypass that allows non-admin users to invoke PHP callables through the "has some" and "has every" operators. Users with the System Messages permission can supply two-argument callables such as passthru or system in sandboxed templates to execute code as the web user.
Text from CVE List
Affected versions 2
- cmsaffected: 5.10.2 before 5.10.14CVE List
- cmsunaffected: 5.10.14CVE List