CVE-2026-55794
highpriority · track · 10EPSS 0.004 · 35 %ileexploit · PoCEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
affected products (2)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-f74w-488g-8x5rCraft CMS: Potential authenticated Remote Code Execution via referrer redirect2026-07-06ghsa · osvUS
### Requirements: * Control panel access * Permissions to edit an entry ### Details Control panel users with the ability to edit entries can execute unsandboxed Twig code via the HTTP Referrer header. 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 has been fixed in Craft 5.10.0. Affected users should update to that version or higher to get the fix. ### Resources https://github.com/craftcms/cms/pull/18680
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://github.com/craftcms/cms/pull/18680cnnvd
- https://github.com/craftcms/cms/security/advisories/GHSA-f74w-488g-8x5rcnnvd
- https://github.com/craftcms/cms/pull/18680enisa_euvd
- https://github.com/craftcms/cms/security/advisories/GHSA-f74w-488g-8x5renisa_euvd
- https://github.com/craftcms/cms/pull/18680nvd
- https://github.com/craftcms/cms/security/advisories/GHSA-f74w-488g-8x5rnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan