craftcms/cms
Affected
- introduced
5.9.0, fixed5.10.0(ecosystem)
Fixed versions
5.10.0
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: CVE-2026-55794
Craft CMS: Potential authenticated Remote Code Execution via referrer redirect
Requirements:
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
High Basis: The source's own band: HIGH
5.9.0, fixed 5.10.0 (ecosystem)5.10.0
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0