Skip to content
CVE PROGRAM SOURCE RECORD8.7 High

CVE-2026-109305

Craft CMS 5.10.2 before 5.10.14 Twig Sandbox Bypass RCE via has some/has every

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

craftcms cms

Default version status: unaffected

  • 5.10.2 to < 5.10.14affected
  • 5.10.14unaffected

References