CVE-2026-55794

High

Description

Craft CMS is a content management system (CMS). In versions 5.9.0 and above prior to 5.10.0, control panel users with the ability to edit entries can execute unsandboxed Twig code via the HTTP Referrer header, potentially leading to authenticated RCE. The issue happens when a user is saving entries. Strings for a signed redirect URL are being compiled as a Twig template via renderObjectTemplate(), and while a sandboxed alternative already exists (renderSandboxedObjectTemplate()), it is not used in this case. This signed URL can be specified by users, as it is reflected in the “Referer” HTTP request header, which is under attacker control. This issue has been fixed in version 5.10.0.

SeverityHigh
CVSS8.7
Exploit probability—
ProductCraftcms/cms
PublishedJul 2, 2026
First seenJul 2, 2026

How to fix

Update
  • craftcms/cms5.10.0 or later

Affected products

ProductAffected versionsFixed in
craftcms/cmsPackagist5.9.0 ≤ v < 5.10.05.10.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-55794 · Craftcms/cms · Dark Radar