{"id":"GHSA-f74w-488g-8x5r","summary":"Craft CMS: Potential authenticated Remote Code Execution via referrer redirect","details":"### Requirements:\n\n* Control panel access\n* Permissions to edit an entry\n\n### Details\n\nControl panel users with the ability to edit entries can execute unsandboxed Twig code via the HTTP Referrer header.\n\nThe 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.\n\nThis has been fixed in Craft 5.10.0. Affected users should update to that version or higher to get the fix.\n\n### Resources\n\nhttps://github.com/craftcms/cms/pull/18680","aliases":["CVE-2026-55794"],"modified":"2026-07-06T21:45:19.485852042Z","published":"2026-07-06T21:37:06Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-07-06T21:37:06Z","nvd_published_at":"2026-07-02T00:16:45Z","cwe_ids":["CWE-94"],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/craftcms/cms/security/advisories/GHSA-f74w-488g-8x5r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55794"},{"type":"WEB","url":"https://github.com/craftcms/cms/pull/18680"},{"type":"PACKAGE","url":"https://github.com/craftcms/cms"}],"affected":[{"package":{"name":"craftcms/cms","ecosystem":"Packagist","purl":"pkg:composer/craftcms%2Fcms"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.9.0"},{"fixed":"5.10.0"}]}],"versions":["5.9.0","5.9.1","5.9.10","5.9.11","5.9.12","5.9.13","5.9.14","5.9.15","5.9.16","5.9.17","5.9.18","5.9.19","5.9.2","5.9.20","5.9.21","5.9.22","5.9.23","5.9.3","5.9.4","5.9.5","5.9.6","5.9.7","5.9.8","5.9.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-f74w-488g-8x5r/GHSA-f74w-488g-8x5r.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}