Code Injection in Craft CMS - CVE-2026-92593

 

Code Injection in Craft CMS - CVE-2026-92593

Published: November 6, 2026 / Updated: November 6, 2026


Vulnerability identifier: #VU159584
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-92593
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a low-privilege authenticated attacker to execute arbitrary PHP code on the Craft CMS server.

The vulnerability exists due to HMAC tokens not being bound to parameter names and unsandboxed Twig rendering of the redirect POST parameter. A low-privilege authenticated attacker can use control-panel access with edit rights on a single element type to obtain a token for an attacker-controlled template through returnUrl and replay it as redirect to execute code.


Affected software

Craft CMS

How to mitigate CVE-2026-92593

Install security update from vendor's website.

Craft CMS - update to 5.10.13

External References

Related Security Bulletins