SecurityContext

CVE-2026-79774: Winter CMS - Template Injection

  • Cve: CVE-2026-79774
  • Name: Winter CMS - Template Injection
  • Description: 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.
  • Impact: Authenticated backend users can execute arbitrary SQL and remote code, leading to full system compromise.
  • Remediation: Update to version 1.2.13 or later.
  • Vulnerability type: template_injection
  • Vulnerability impact: remote_code_execution, data_tampering, information_disclosure
  • Requirement type: logged_in
  • Requirements: Attacker must be authenticated backend user with template-editing permissions.
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
  • Epss score: 0.00808
  • Epss percentile: 0.57791
  • Assignee: [email protected]
  • Published at: 2026-08-25T16:17:29Z
  • Age in days: 91
  • Modified at: 2026-10-08T16:17:45Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-79774
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-693Protection Mechanism Failure

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/wintercms/winter/commit/725bbcda232466f7f71381c271c6916573d576e6
https://github.com/wintercms/winter/security/advisories/GHSA-8cfw-pcwh-v63w
https://www.vulncheck.com/advisories/winter-cms-before-twig-sandbox-escape-via-securitypolicy

Products

ProductAffectedPlatform boundSourcesUrl
wintercms:winter>= 1.2.7, < 1.2.13nocna/v1/products/wintercms/winter

Projects

RepositoryLink kindsIndexedUrl
wintercms/wintercommit, fix, security_advisoryyes/v1/repositories/wintercms/winter

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 236
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports