{"id":"CVE-2026-55794","published":"2026-07-01T23:26:22Z","modified":"2026-07-02T12:41:39Z","title":"Craft CMS: Potential authenticated Remote Code Execution via referrer redirect","vendor":"Craft CMS","product":"cms","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00412,"percentile":0.27023,"provenance":"source"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"},{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-f74w-488g-8x5r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/craftcms/cms/pull/18680","tags":["x_refsource_MISC"]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":5.4},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.09}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-09-21","earliestUrl":"https://github.com/TRX-0/CVE-2026-55794-craftcms-ssti","repos":[{"name":"TRX-0/CVE-2026-55794-craftcms-ssti","url":"https://github.com/TRX-0/CVE-2026-55794-craftcms-ssti","stars":0,"created":"2026-09-21"}]},"first":{"date":"2026-09-21","source":"PoC-in-GitHub","url":"https://github.com/TRX-0/CVE-2026-55794-craftcms-ssti"},"provenance":"source"},"vendorSlug":"craft-cms","affectedVersions":[{"vendor":"craftcms","product":"cms","versions":[">= 5.9.0, < 5.10.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-07-02T12:41:30.954619Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"craftcms/cms","vulnerableRanges":[">=5.9.0, <5.10.0"],"patched":["5.10.0"],"from":["GHSA-f74w-488g-8x5r"],"provenance":"source"}],"summary":{"text":"Craft CMS versions 5.9.0 through 5.10.0 (before 5.10.0) contain a flaw in the control panel's entry-saving process, where the signed redirect URL taken from the HTTP Referer header is compiled as an unsandboxed Twig template. An attacker who holds a control panel account with permission to edit entries can exploit this by sending a crafted Referer header while saving an entry, which can lead to remote code execution, and the attack requires only low-privilege authenticated access with no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:39:52Z"},"euvd":{"id":"EUVD-2026-41213","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-craft-cms-cms-cve-2026-55794","children":[{"from":"CVE-2026-55794","to":"CVE-2026-92593","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"Craft CMS versions 5.10.0 through 5.10.12 contain an incomplete fix for CVE-2026-55794: the Controller::getPostedRedirectUrl() -> View::renderObjectTemplate() sink remained unsandboxed, and the same fix commit added a self-signing oracle…","from":"CVE.org","in":"CVE-2026-92593"}]}],"packageHistory":[{"cve":"CVE-2026-55793","published":"2026-07-01","fixed":"5.9.53","kev":false,"link":{"from":"CVE-2026-55793","to":"CVE-2026-55794","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:craftcms/cms","fromFixed":"5.9.53","toFixed":"5.10.0","daysApart":0}]}},{"cve":"CVE-2026-55791","published":"2026-07-01","fixed":"5.10","kev":false},{"cve":"CVE-2026-55792","published":"2026-07-01","fixed":"5.10.0","kev":false},{"cve":"CVE-2026-55794","published":"2026-07-01","fixed":"5.10.0","kev":false},{"cve":"CVE-2026-14793","published":"2026-07-06","fixed":"5.10.3","kev":false},{"cve":"CVE-2026-14794","published":"2026-07-06","fixed":"5.10.3","kev":false},{"cve":"CVE-2026-72778","published":"2026-08-11","fixed":"5.10.6","kev":false}],"package":"Packagist:craftcms/cms"}}