Improper Neutralization of Special Elements Used in a Template Engine in Craft CMS - #VU159603
Published: November 6, 2026
Vulnerability details
The vulnerability allows an authenticated control panel user to execute attacker-selected PHP callables as the web server user.
The vulnerability exists due to property lookups bypassing Twig sandbox restrictions when Craft CMS evaluates an element-search condition as an object template. An authenticated control panel user can submit crafted conditions to recover the securityKey through observable search results, then forge signed parameters that reach unsandboxed template rendering and invoke PHP callables.