CVE-2026-109305
JSON

8.7high

Craft CMS 5.10.2 before 5.10.14 Twig Sandbox Bypass RCE via has some/has every

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.48% (higher than 43% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
craftcms cmsfrom 5.10.2 before 5.10.14
Not affected: 5.10.14
CVE List

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-1336

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-109305 changed 2026-10-13CVE Terms of Use
NVDCVE-2026-109305 changed 2026-10-15Public domain