{"id":"CVE-2026-28695","published":"2026-03-04T16:15:32Z","modified":"2026-03-06T05:01:24Z","title":"Craft affected by authenticated RCE via Twig SSTI - create() function + Symfony Process gadget","vendor":"Craft CMS","product":"cms","tier":"tail","description":{"text":"Craft is a content management system (CMS). There is an authenticated admin RCE in Craft CMS 5.8.21 via Server-Side Template Injection using the create() Twig function combined with a Symfony Process gadget chain. The create() Twig function exposes Craft::createObject(), which allows instantiation of arbitrary PHP classes with constructor arguments. Combined with the bundled symfony/process dependency, this enables RCE. This bypasses the fix implemented for CVE-2025-57811 (patched in 5.8.7). This vulnerability is fixed in 5.9.0-beta.1 and 4.17.0-beta.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00662,"percentile":0.51668,"provenance":"source"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-94rc-cqvm-m4pw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/craftcms/cms/commit/e31e50849ad71638e11ea55fbd1ed90ae8f8f6e0","tags":["x_refsource_MISC"]}],"priority":{"score":20.6,"factors":[{"name":"EPSS percentile","points":10.33},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.25}]},"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2026-09-27","earliestUrl":"https://github.com/gbuyssens/CVE-2026-28695-craft-rce-bypass","repos":[{"name":"predyy/CVE-2026-28695","url":"https://github.com/predyy/CVE-2026-28695","stars":13,"created":"2026-09-27"},{"name":"gbuyssens/CVE-2026-28695-craft-rce-bypass","url":"https://github.com/gbuyssens/CVE-2026-28695-craft-rce-bypass","stars":1,"created":"2026-09-27"}]},"first":{"date":"2026-09-27","source":"PoC-in-GitHub","url":"https://github.com/gbuyssens/CVE-2026-28695-craft-rce-bypass"},"provenance":"source"},"vendorSlug":"craft-cms","affectedVersions":[{"vendor":"craftcms","product":"cms","versions":[">= 5.8.7, < 5.9.0-beta.1",">= 4.0.0-RC1, < 4.17.0-beta.1"]}],"affected":[{"ecosystem":"Packagist","package":"craftcms/cms","vulnerableRanges":[">=5.8.7, <5.9.0-beta.1",">=4.0.0-RC1, <4.17.0-beta.1"],"patched":["5.9.0-beta.1","4.17.0-beta.1"],"from":["GHSA-94rc-cqvm-m4pw"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-9421","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-craft-cms-cms-cve-2024-52293","parents":[{"from":"CVE-2025-57811","to":"CVE-2026-28695","relation":"bypass","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"bypass","quote":"This bypasses the fix implemented for CVE-2025-57811 (patched in 5.8.7).","from":"CVE.org","in":"CVE-2026-28695"}]}]}}