CVE-2026-55794

HIGH

Craft CMS: Potential authenticated Remote Code Execution via referrer redirect

Title source: cna
STIX 2.1

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.

References (2)

Core 2
Core References
X_Refsource_Misc x_refsource_misc
https://github.com/craftcms/cms/pull/18680

Scores

CVSS v4 8.7
EPSS 0.0029
EPSS Percentile 21.6%
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-1336 CWE-94
Status published
Products (2)
craftcms/cms 5.9.0 - 5.10.0Packagist
craftcms/cms >= 5.9.0, < 5.10.0
Published Jul 02, 2026
Tracked Since Jul 02, 2026