CVE-2026-124430 — Craftcms CMS
HIGHCVE-2026-124430 is a high-severity (CVSS 8.8) CWE-1336 vulnerability in craftcms cms. A fix is available — see the affected versions and patch details below.
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…
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.
Affected Products
cmscraftcmsDetection & mitigation playbook
Vendor / applianceDetect
Inventory every craftcms cms deployment and check each version against the affected-products list above.
Fix
Apply the craftcms cms security patch or hotfix for CVE-2026-124430 on the affected version, following the vendor advisory for your exact build.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.
Frequently Asked Questions
Is CVE-2026-124430 being exploited in your environment?
Detect and block the exploit chain at execution, on systems you cannot patch yet.