Skip to content
Heist/ feed
High

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-109305

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-109305

cms

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "craftcms",
    "product": "cms",
    "versions": [
      {
        "status": "affected",
        "version": "5.10.2",
        "lessThan": "5.10.14",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.14",
        "versionType": "semver"
      }
    ],
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-109305

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#20588 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement