High severity · published Jul 1, 2026
CVE-2026-55794
Craft CMS: Potential authenticated Remote Code Execution via referrer redirect
8.7
CVSS
0.4%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 35% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CM
cms · craftcms
>= 5.9.0, < 5.10.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-55794
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-55794
github.com
https://github.com/craftcms/cms/pull/18680
github.com
https://github.com/craftcms/cms/security/advisories/GHSA-f74w-488g-8x5r
More from cms
10.0
CVE-2025-32432
Craft CMS Allows Remote Code Execution
9.8
CVE-2024-56145
RCE when PHP `register_argc_argv` config setting is enabled in craftcms/cms
8.1
CVE-2025-23209
Potential RCE with a compromised security key in craft/cms
9.8
CVE-2026-112776
Craft CMS 5.0.0 before 5.11.0 GraphQL Site-Scope Bypass via Mutations
9.8
CVE-2026-84795
Craft CMS before 5.10.11 Authentication Bypass via Admin Flag Inheritance
