Vulnerability

CVE-2026-112773

highCVSS 4.0 8.7Published 19 Oct 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

Craft CMS from 5.0.0 before 5.11.0 contains a remote code execution vulnerability that allows authenticated Control Panel users to escape the Twig sandbox by passing uncleansed criteria to getNext, getPrev, or getOwners. Attackers can inject Yii "as" or "on" config keys to attach malicious event handlers that execute when the element query runs, achieving code execution as the web user.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /craftcms/cms/security/advisories/GHSA-wr79-9v6x-5rfq
  • www.vulncheck.com /advisories/craft-cms-5.0.0-before-5.11.0-rce-via-twig-sand…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning