Twig Sandbox Bypass in Craft CMS Affected by Craft Development Team
CVE-2026-109305

8.7HIGH

Key Information:

Vendor

Craftcms

Status
Vendor
CVE Published:
12 October 2026

What is CVE-2026-109305?

Craft CMS versions prior to 5.10.14 are vulnerable to a Twig sandbox bypass that enables non-administrative users to exploit the 'has some' and 'has every' operators. By having the System Messages permission, these users can introduce two-argument PHP callables, such as passthru or system, into sandboxed templates. This malicious capability allows them to execute arbitrary code as the web user, posing a significant risk to application integrity and security.

Affected Version(s)

cms 5.10.2 < 5.10.14

cms 5.10.14

References

CVSS V4

Score:
8.7
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

dee-see
.