Skip to main content
← All vulnerabilities
CVE-2026-55794GHSA-F74W-488G-8X5R

Craft CMS: Potential authenticated Remote Code Execution via referrer redirect

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.0
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • craftcms cms

    From 5.9.0 · fixed in 5.10.0

  • craftcms/cmsPackagist

    From 5.9.0 · fixed in 5.10.0

References 3

GitHub · craftcms/cms

GitHub · TRX-0/CVE-2026-55794-craftcms-ssti