CVE-2026-92593: Craft CMS authenticated server-side template injection

CVE-2026-92593 · Severity: high · CVSS 8.8 · Published 2026-09-16

Craft CMS is a content management system that provides control panel functionality for managing website content. An authenticated attacker with low-privilege edit rights can exploit an incomplete security fix to execute arbitrary PHP code on the server, achieving full server compromise. The vulnerability stems from improper validation of template rendering functions that allow untrusted Twig code execution.

Quick answers

Is CVE-2026-92593 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-92593 being exploited in the wild.
How severe is CVE-2026-92593?
High severity, with a CVSS score of 8.8, published 16 September 2026.
Which products and versions are affected?
Craft CMS 5.10.0 through 5.10.12.
Is there a fix for CVE-2026-92593?
A patch was published on 2026-09-16: Fixed in version 5.10.13 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-92593 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-92593?
Check whether anything you run is named in the advisory. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

This vulnerability is an incomplete fix for CVE-2026-55794 affecting the Controller::getPostedRedirectUrl() → View::renderObjectTemplate() code path, which remained unsandboxed. The same fix commit introduced a self-signing oracle in Cp::elementLabelHtml(). An authenticated low-privilege control panel user with edit rights on a single element type can forge an HMAC token over attacker-controlled Twig for the returnUrl parameter. Since Craft/Yii HMAC tokens are not bound to parameter names, the token can be replayed as the redirect POST parameter to reach the unsandboxed template rendering sink, resulting in server-side template injection (SSTI) that executes arbitrary PHP code. Attack vector is network-based, requiring prior authentication and element edit privileges. The vulnerability is fixed in version 5.10.13.

Affected products

  • Craft CMS 5.10.0 through 5.10.12

Timeline

  • 2026-09-16: disclosed
  • 2026-09-16: patched: Fixed in version 5.10.13

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.