CVE-2026-109305CWE-1336

CVE-2026-109305

High · published October 12, 2026

CVSS v3.1
8.8
EPSS
0%
Percentile
40.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
8.7 · CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS
0.00485 · 40.8th percentile
Weakness
CWE-1336 · Improper Neutralization of Special Elements Used in a Template Engine
Published
2026-10-12T21:17Z
References (2)
EPSS history
Timeline
  • 14 OCT 03:27Z
    EPSS moved — → 0%
    epss
  • 12 OCT 16:05Z
    Craft CMS 5.10.2 before 5.10.14 Twig Sandbox Bypass RCE via has some/has every
    cvelistv5
  • 12 OCT 16:05Z
    Craft CMS 5.10.2 before 5.10.14 Twig Sandbox Bypass RCE via has some/has every
    cvelistv5