Skip to content
OpenAdvisories
High · 8.7 Public exploit CVE-2026-55794 EUVD-2026-41213GHSA-f74w-488g-8x5r

Craft CMS: Potential authenticated Remote Code Execution via referrer redirect

Published Jul 1, 2026 · Updated Jul 2, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
craftcms cms >= 5.9.0, < 5.10.0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist craftcms/cms >= 5.9.0, < 5.10.0 5.10.0 GHSA-f74w-488g-8x5r

References