CVE-2026-109305: Craft CMS 5.10.2 before 5.10.14 Twig Sandbox Bypass RCE via has some/has every

Published Oct 12, 2026
·
Updated

Craft CMS from 5.10.2 before 5.10.14 contains a Twig sandbox bypass that allows non-admin users to invoke PHP callables through the "has some" and "has every" operators. Users with the System Messages permission can supply two-argument callables such as passthru or system in sandboxed templates to execute code as the web user.

Affected Software

1 affected component
Craft CMS Craft CMS>=5.10.2<5.10.14

Event History

Oct 12, 2026
CVE Published
via MITRE·04:05 PM
Data Sourced
via MITRE·04:05 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which users can exploit this issue?

A non-admin user needs the System Messages permission. That permission allows them to provide sandboxed template content that can invoke PHP callables through the affected Twig operators.

2

What access and interaction are required for exploitation?

The vulnerability is network-accessible, has low attack complexity, requires low privileges, and does not require user interaction. An attacker must be able to supply a two-argument callable, such as passthru or system, in a sandboxed template.

3

What is the impact if exploitation succeeds?

Successful exploitation allows code execution as the web user. The reported impact includes high confidentiality, integrity, and availability impact.

4

Which versions are affected?

Craft CMS versions from 5.10.2 before 5.10.14 are affected. Updating to 5.10.14 or later removes the affected version range.

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