Twig Sandbox Bypass in Craft CMS Affected by Craft Development Team
CVE-2026-109305
8.7HIGH
What is CVE-2026-109305?
Craft CMS versions prior to 5.10.14 are vulnerable to a Twig sandbox bypass that enables non-administrative users to exploit the 'has some' and 'has every' operators. By having the System Messages permission, these users can introduce two-argument PHP callables, such as passthru or system, into sandboxed templates. This malicious capability allows them to execute arbitrary code as the web user, posing a significant risk to application integrity and security.
Affected Version(s)
cms 5.10.2 < 5.10.14
cms 5.10.14
