{"id":"CVE-2026-28695","summary":"Craft affected by authenticated RCE via Twig SSTI - create() function + Symfony Process gadget","details":"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.","aliases":["GHSA-94rc-cqvm-m4pw"],"modified":"2026-04-10T05:41:22.625741Z","published":"2026-03-04T16:15:32.556Z","database_specific":{"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28695.json","cwe_ids":["CWE-1336"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28695.json"},{"type":"ADVISORY","url":"https://github.com/craftcms/cms/security/advisories/GHSA-94rc-cqvm-m4pw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28695"},{"type":"FIX","url":"https://github.com/craftcms/cms/commit/e31e50849ad71638e11ea55fbd1ed90ae8f8f6e0"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/craftcms/cms","events":[{"introduced":"79c68d9f00ece882c0e9c336e4545fef5f9b06a7"},{"fixed":"0ad14c3c7e590461b52aeb44859659e2e231e04d"}],"database_specific":{"versions":[{"introduced":"5.8.7"},{"fixed":"5.9.0-beta.1"}]}},{"type":"GIT","repo":"https://github.com/craftcms/cms","events":[{"introduced":"daac7c1da2f701f2e9ddee1da1457ce61660b581"},{"fixed":"42cef196d68dd8d48ceaab89b2c9e2edd2cecbe8"}],"database_specific":{"versions":[{"introduced":"4.0.0-RC1"},{"fixed":"4.17.0-beta.1"}]}}],"versions":["5.8.10","5.8.11","5.8.12","5.8.13","5.8.13.1","5.8.13.2","5.8.14","5.8.15","5.8.16","5.8.17","5.8.18","5.8.19","5.8.20","5.8.21","5.8.22","5.8.23","5.8.7","5.8.8","5.8.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-28695.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}