Skip to content
Heist/ feed
High

Craft CMS before 4.18.8 and 5.11.0 Authenticated RCE via Twig group Filter Array-Callable

Type: advisorySource: Official CVE List1 source record

Craft CMS 4.x before 4.18.8 and 5.x before 5.11.0 contains a remote code execution vulnerability in the Twig group filter, which invokes non-string arrow arguments as callables without the checkArrow guard used by other arrow-accepting filters. Authenticated control panel users can pass an array-callable such as FileHelper::writeToFile via element-select condition rules to write a webshell to the webroot and execute code as the web user.

Announced Group revision 1
Original source ↗

CVE-2026-112770

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-112770

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

cms

Source reference: /containers/cna/affected/1/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": "4.0.0",
        "lessThan": "4.18.8",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "4.18.8",
        "versionType": "semver"
      }
    ],
    "defaultStatus": "unaffected"
  },
  {
    "vendor": "craftcms",
    "product": "cms",
    "versions": [
      {
        "status": "affected",
        "version": "5.0.0",
        "lessThan": "5.11.0",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.11.0",
        "versionType": "semver"
      }
    ],
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-112770

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

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