Technical impact
Craft CMS versions 5.10.0 through before 5.11.2 contain a flaw that lets non‑administrator control panel users access HMAC‑signed Twig templates via the app/render-elements endpoint. By submitting the signed template as a login redirect URL, an attacker can trigger the unsandboxed renderObjectTemplate() method, which evaluates the template and executes arbitrary OS commands as the PHP worker. The vulnerability thus permits remote code execution and full compromise of the affected web server. The weakness is classified as CWE‑1336.
Affected Systems
The affected product is Craft CMS from the vendor CraftCMS, version 5.10.0 up to, but not including, 5.11.2. Any installation of Craft CMS within this version range that exposes the app/render-elements endpoint to non‑administrator users is vulnerable.
Risk and Exploitability
The CVSS score of 8.7 indicates a high severity, and while the EPSS score is not available, the vulnerability is not listed in the CISA KEV catalog, suggesting no known active exploitation yet. Based on the description, it is inferred that the attack vector is remote, requiring the ability to send HTTP requests to the vulnerable endpoint, and the privilege requirement is non‑administrative. An attacker who can act as a non‑administrator control panel user can exploit the flaw to execute arbitrary OS commands, potentially compromising or taking control of the entire CMS instance.