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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-1336"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/109xxx/CVE-2026-109305.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "5.10.2"
},
{
"fixed": "5.10.14"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "5.10.2"
},
{
"fixed": "5.10.14"
}
],
"source": "DESCRIPTION"
}
]
}