Loading...
Skip to main content

CVE-2026-55794

HIGH

Craft CMS: Potential authenticated Remote Code Execution via referrer redirect

Published July 6, 2026Updated July 6, 2026Source: osv

Summary

### 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

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update craftcms/cms to 5.10.0 or later
composer require "craftcms/cms:^5.10.0"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

PackageEcosystemAffectedFixed In
craftcms/cms
packagist
5.9.0, 5.9.1, 5.9.10, 5.9.11 (+20 more)5.10.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Confidentiality
Integrity
Availability

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

Frequently Asked Questions

What is CVE-2026-55794?
Craft CMS: Potential authenticated Remote Code Execution via referrer redirect This vulnerability has been assigned a severity rating of HIGH (CVSS score: 9.9/10).
How do I check if my project is affected by CVE-2026-55794?
CVE-2026-55794 affects craftcms/cms. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-55794 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.9

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-f74w-488g-8x5r

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies