raft is a content management system (CMS). Prior to 5.8.22 and 4.16.18, it is possible to craft a malicious payload using the Twig map filter in text fields that accept Twig input under Settings in the Craft control panel or using the System Messages utility, which could lead to a RCE. For this to work, you must have administrator access to the Craft Control Panel, and allowAdminChanges must be enabled for this to work, which is against our recommendations for any non-dev environment. Alternatively, you can have a non-administrator account with allowAdminChanges disabled, but you have access to the System Messages utility. Users should update to the patched versions (5.8.22 and 4.16.18) to mitigate the issue.
| Link | Resource |
|---|---|
| https://craftcms.com/knowledge-base/securing-craft#set-allowAdminChanges-to-false-in-production | Technical Description |
| https://github.com/craftcms/cms/pull/18208 | Issue Tracking Patch |
| https://github.com/craftcms/cms/security/advisories/GHSA-qc86-q28f-ggww | Patch Vendor Advisory |
Configuration 1 (hide)
|
05 Mar 2026, 10:37
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Craftcms
Craftcms craft Cms |
|
| References | () https://craftcms.com/knowledge-base/securing-craft#set-allowAdminChanges-to-false-in-production - Technical Description | |
| References | () https://github.com/craftcms/cms/pull/18208 - Issue Tracking, Patch | |
| References | () https://github.com/craftcms/cms/security/advisories/GHSA-qc86-q28f-ggww - Patch, Vendor Advisory | |
| CPE | cpe:2.3:a:craftcms:craft_cms:4.0.0:-:*:*:*:*:*:* cpe:2.3:a:craftcms:craft_cms:5.0.0:-:*:*:*:*:*:* cpe:2.3:a:craftcms:craft_cms:4.0.0:rc3:*:*:*:*:*:* cpe:2.3:a:craftcms:craft_cms:4.0.0:rc2:*:*:*:*:*:* cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* cpe:2.3:a:craftcms:craft_cms:4.0.0:rc1:*:*:*:*:*:* cpe:2.3:a:craftcms:craft_cms:5.0.0:rc1:*:*:*:*:*:* |
|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.2 |
04 Mar 2026, 17:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Published : 2026-03-04 17:16
Updated : 2026-03-05 10:37
NVD link : CVE-2026-28784
Mitre link : CVE-2026-28784
CVE.ORG link : CVE-2026-28784
JSON object : View
Improper Neutralization of Special Elements Used in a Template Engine