What’s Vulnerable › Vulnerabilities
CVE-2026-109305: Craft CMS 5.10.2 before 5.10.14 Twig Sandbox Bypass RCE via has some/has every
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-12 · updated 2026-10-15
- Weakness: CWE-1336
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.
Affected products
- craftcms cms: from 5.10.2 before 5.10.14 — fixed in 5.10.14
How to fix
Upgrade to a fixed version: craftcms cms 5.10.14. Check the vendor advisory for mitigations.
References
- https://github.com/craftcms/cms/security/advisories/GHSA-vfcw-xv8p-8rj2
- https://www.vulncheck.com/advisories/craft-cms-5.10.2-before-5.10.14-twig-sandbox-bypass-rce-via-has-some-has-every
Get alerted when CVE-2026-109305 or the next vulnerability affects your stack