# CVE-2026-109305: Craft CMS 5.10.2 before 5.10.14 Twig Sandbox Bypass RCE via has some/has every

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-01)
- Published: 2026-10-12T16:05:01.545Z
- Modified: 2026-10-15T15:55:45.630Z
- Weaknesses: CWE-1336
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- craftcms cms: from 5.10.2 before 5.10.14 (not affected: 5.10.14)

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/craftcms/cms/security/advisories/GHSA-vfcw-xv8p-8rj2> (vendor-advisory)
- <https://www.vulncheck.com/advisories/craft-cms-5.10.2-before-5.10.14-twig-sandbox-bypass-rce-via-has-some-has-every> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-109305](https://www.cve.org/CVERecord?id=CVE-2026-109305), CVE Terms of Use, modified 2026-10-13
- NVD: [CVE-2026-109305](https://nvd.nist.gov/vuln/detail/CVE-2026-109305), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-109305 · Whole record: https://cve.day/CVE-2026-109305.json · Rebuilt by cve.day 2026-11-25T22:59:43.626Z
