{"id":"CVE-2026-109305","published":"2026-10-12T16:05:01Z","modified":"2026-10-13T18:05:59Z","title":"Craft CMS 5.10.2 before 5.10.14 Twig Sandbox Bypass RCE via has some/has every","vendor":"Craft CMS","product":"cms","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00707,"percentile":0.49052,"provenance":"source"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-vfcw-xv8p-8rj2","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/craft-cms-5.10.2-before-5.10.14-twig-sandbox-bypass-rce-via-has-some-has-every","tags":["third-party-advisory"]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":9.81},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"craft-cms","affectedVersions":[{"vendor":"craftcms","product":"cms","versions":[">= 5.10.2, < 5.10.14"]}],"fixedVersions":[{"vendor":"craftcms","product":"cms","versions":["5.10.14"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-13T18:05:49.788324Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-97607","exploited":false,"provenance":"source"}}