CMS
Craft CMS: Potential authenticated Remote Code Execution via referrer redirect
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 5.9.0, < 5.10.0
Fixed in 5.10.0
Mitigation
Upgrade cms to 5.10.0 or later.
References
- Vendor advisory github.com/craftcms/cms/security/advisories/GH…
- Patch github.com/craftcms/cms/pull/18680
Timeline
Days relative to CVE publicationFirst public PoC 82 days after publication; not in CISA KEV. First PoC: TRX-0/CVE-2026-55794-craftcms-ssti (created 21 Sep 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| TRX-0/CVE-2026-55794-craftcms-ssti | 21 Sep 2026 +82 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.