CVE-2026-109305
published high CVSS 4.0 · 8.7Craft CMS 5.10.2 before 5.10.14 Twig Sandbox Bypass RCE via has some/has every
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| craftcms | — | cms5.10.2 to < 5.10.14 (affected · semver) · 5.10.14 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| craftcms | cms | 5.10.2 to < 5.10.14 (affected · semver)5.10.14 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine
References
2- GitHub Security Advisory (GHSA-vfcw-xv8p-8rj2) https://github.com/craftcms/cms/security/advisories/GHSA-vfcw-xv8p-8rj2
- VulnCheck Advisory: Craft CMS 5.10.2 before 5.10.14 Twig Sandbox Bypass RCE via has some/has every https://www.vulncheck.com/advisories/craft-cms-5.10.2-before-5.10.14-twig-sandbox-bypass-rce-via-has-some-has-every
Provider assertions
2VulnCheck · cna
Craft CMS 5.10.2 before 5.10.14 Twig Sandbox Bypass RCE via has some/has every
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2ad604528477da82cfc205231b1aa4c6e0fa94c61ffce63ed4f4fdf87e2ef245
- Ingested
- 13 Oct 2026, 18:30:47 UTC
- Source record
- Official CVE record