{"id":"CVE-2026-109305","revision":"35db11f7dee040fb8ab392a64dc4d5ef","records":[{"revision":"35db11f7dee040fb8ab392a64dc4d5ef","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-109305","aliases":[],"title":"Craft CMS 5.10.2 before 5.10.14 Twig Sandbox Bypass RCE via has some/has every","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.","state":0,"publishedAt":"2026-10-12T16:05:01.545+00:00","modifiedAt":"2026-10-13T18:05:59.274+00:00","affected":[{"ecosystem":"Vendor product","name":"cms","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"craftcms\",\n                    \"product\": \"cms\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"5.10.2\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"5.10.14\"\n                        },\n                        {\n                            \"version\": \"5.10.14\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":8.7,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"}],"references":["https://github.com/craftcms/cms/security/advisories/GHSA-vfcw-xv8p-8rj2","https://www.vulncheck.com/advisories/craft-cms-5.10.2-before-5.10.14-twig-sandbox-bypass-rce-via-has-some-has-every"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-109305","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-109305","identifiers":["CVE-2026-109305"]},"retained":false,"historicalAffected":[]}],"coverage":[]}