← Back to search

CVE-2026-124430

8.8 HIGHpublic exploit available

Published 2026-11-08 · Updated 2026-11-10

AI risk analysis

Summary
A flaw in Craft CMS (5.10.0–5.11.1) allows non-admin control panel users to exploit HMAC-signed Twig templates via the app/render-elements endpoint, leading to remote code execution through unsandboxed template rendering. Attackers abuse the login redirect mechanism to trigger arbitrary OS command execution as the PHP worker.
Exploitability
Exploitation requires valid non-admin control panel credentials and knowledge of the vulnerable endpoint; public exploits exist, making it trivial for attackers with low privileges.
Blast radius
Successful exploitation grants full system compromise with root-level privileges on the web server, enabling data theft, lateral movement, and persistent backdoor installation.
Detection
Monitor for anomalous POST requests to /index.php?p=admin/actions/app/render-elements with a returnUrl parameter containing signed Twig templates (e.g., base64-encoded strings ending in .html.twig or containing {{ }} syntax), especially when followed by unexpected PHP process spawning or filesystem writes in web-accessible directories.
Prioritized remediation
Upgrade to Craft CMS 5.11.2 or later immediately; if upgrading is delayed, disable the app/render-elements endpoint for non-admin users and enforce strict access controls via web application firewall rules.
rcetemplate-injectionauth-bypasswebappcraft-cms

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

Craft CMS from 5.10.0 before 5.11.2 contains a remote code execution vulnerability that allows non-administrator control panel users to obtain HMAC-signed Twig templates via the app/render-elements endpoint. Attackers can submit the signed templated returnUrl as the login redirect parameter, triggering unsandboxed renderObjectTemplate() evaluation and executing OS commands as the PHP worker.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-1336

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.