Back to overview

CVE-2026-55794

HIGH
8.7
CVSS 4.0
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.

Metadata

CVE ID
CVE-2026-55794
State
PUBLISHED
Assigner
GitHub_M
Reserved
2026-06-17 14:40 UTC
Published
2026-07-01 23:26 UTC
Last updated
2026-07-02 12:41 UTC
Primary CWE
CWE-1336
CWE-1336: Improper Neutralization of Special Elements Used i…
Vendor / Product
craftcms / cms
Sources
cve.org  ·  NVD

Severity & Metrics

8.7 HIGH CVSS 4.0
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
SSVC — CISA Coordinator
Exploitation
none
Automatable
no
Tech. Impact
total
Affected products (1)
VendorProductPlatformVersions
craftcms cms >= 5.9.0, < 5.10.0
Weakness (CWE)
CWESourceDescription
CWE-1336 cna CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
CWE-94 cna CWE-94: Improper Control of Generation of Code ('Code Injection')
CVSS scores (1)
ScoreSeverityVersionSourceVector
8.7 HIGH 4.0 cna 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
References (2)
Back to overview