CVE-2026-112773: Craft CMS 5.0.0 before 5.11.0 RCE via Twig Sandbox Behavior Injection

Published Oct 19, 2026
·
Updated

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 Software

1 affected component
Craft CMS Craft CMS>=5.0.0<5.11.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Craft CMS to a version that resolves this vulnerability.

    Fixed in 5.11.0

Event History

Oct 19, 2026
CVE Published
via MITRE·07:10 PM
Data Sourced
via MITRE·07:10 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this vulnerability?

An attacker needs an authenticated Craft CMS Control Panel account. The issue is remotely reachable and does not require user interaction once the attacker has that level of access.

2

Which deployments are affected?

Craft CMS versions from 5.0.0 up to, but not including, 5.11.0 are affected. The vulnerability is triggered through Twig sandbox handling of criteria passed to getNext, getPrev, or getOwners.

3

What level of access can successful exploitation provide?

Successful exploitation can execute code as the web user. This can affect confidentiality, integrity, and availability of the affected system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203