CVE-2026-112773

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductCms
PublishedOct 19, 2026
First seenOct 19, 2026

How to fix

Update
  • craftcms cms5.11.0 or later

Affected products

ProductAffected versionsFixed in
craftcms cms5.0.0 ≤ v < 5.11.05.11.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.