CVE-2026-109305 Craft CMS 5.10.2 before 5.10.14 Twig Sandbox Bypass RCE via has some/has every
HighCVSS 8.7
EPSS 0.49%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- PHP
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| craftcms cms | >= 5.10.2, < 5.10.14 | 5.10.14 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| craftcms cms | >= 5.10.2, < 5.10.14 | 5.10.14 |
References
- GitHub Security Advisory (GHSA-vfcw-xv8p-8rj2) vendor-advisory
- VulnCheck Advisory: Craft CMS 5.10.2 before 5.10.14 Twig Sandbox Bypass RCE via has some/has every third-party-advisory
- ENISA EUVD EUVD-2026-97607 third-party-advisory