Code Injection in Craft CMS - CVE-2026-105985
Published: November 6, 2026 / Updated: November 6, 2026
Vulnerability details
The vulnerability allows a low-privileged authenticated attacker with Control Panel access to execute operating-system commands as the PHP/web-server account.
The vulnerability exists due to request-controlled entry type label overrides being evaluated as unsandboxed Twig templates by Craft CMS's app/render-components action. A low-privileged authenticated attacker can submit malicious component overrides when at least one entry type and one entry exist, causing attacker-supplied Twig to invoke PHP command-execution functions.