CVE-2026-92593: Craft CMS 5.10.0 before 5.10.13 Authenticated Remote Code Execution
Craft CMS versions 5.10.0 through 5.10.12 contain an incomplete fix for CVE-2026-55794: the Controller::getPostedRedirectUrl() -> View::renderObjectTemplate() sink remained unsandboxed, and the same fix commit added a self-signing oracle in Cp::elementLabelHtml(). Because Craft/Yii HMAC tokens are not bound to a parameter name, an authenticated low-privilege control panel user with edit rights on a single element type can mint a token over attacker-controlled Twig for the returnUrl parameter and replay it as the redirect POST parameter, reaching the unsandboxed sink and achieving server-side template injection that executes arbitrary PHP code (full server compromise). The issue is fixed in 5.10.13.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Craft CMSto a version that resolves this vulnerability.Fixed in 5.10.13
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated low-privilege Craft control panel user can exploit it if they have edit rights for at least one element type. No user interaction is required.
What access does an attacker need to achieve code execution?
The attacker needs valid control panel authentication and edit permission on a single element type. They can then create an HMAC token over attacker-controlled Twig and replay it through the redirect POST parameter to reach the vulnerable template-rendering sink.
Are all affected Craft CMS versions vulnerable?
The affected range is Craft CMS 5.10.0 through 5.10.12. The issue is fixed in version 5.10.13.
What is the impact of successful exploitation?
Successful exploitation results in server-side template injection that can execute arbitrary PHP code. This can lead to full server compromise, affecting confidentiality, integrity, and availability.