Skip to content
Heist/ feed
Critical

Winter CMS before 1.2.13 Twig Sandbox Escape via SecurityPolicy

Type: advisorySource: Official CVE List1 source record

Winter CMS versions before 1.2.13 contain an incomplete fix for a Twig sandbox escape vulnerability in System\\Twig\\SecurityPolicy that allows authenticated backend users with template-editing permissions to bypass sandbox restrictions. Attackers can exploit method forwarding through Eloquent models and query builders using methods like saveQuietly(), deleteQuietly(), increment(), decrement(), and newQuery() to read and modify arbitrary database records, execute arbitrary SQL, and achieve remote code execution by injecting PHP into template code sections.

Announced Group revision 1
Original source ↗

CVE-2026-79774

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

winter

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": "wintercms",
    "product": "winter",
    "versions": [
      {
        "status": "affected",
        "version": "1.2.7",
        "lessThan": "1.2.13",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "1.2.13",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:composer/winter/wn-system-module",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-79774

Source reference: /cveMetadata/cveId

Publisher severity

critical

Source reference: /containers/cna/metrics

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