Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-28784
Published:March 04, 2026
Updated:June 27, 2026
Craft 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.
Affected Packages
https://github.com/craftcms/cms.git (GITHUB):
Affected version(s) >=5.0.0 <5.8.22
Fix Suggestion:
Update to version 5.8.22
https://github.com/craftcms/cms.git (GITHUB):
Affected version(s) >=4.0.0 <4.16.18
Fix Suggestion:
Update to version 4.16.18
craftcms/cms (PHP):
Affected version(s) >=4.0.0-RC1 <4.17.0-beta.1
Fix Suggestion:
Update to version 4.17.0-beta.1
craftcms/cms (PHP):
Affected version(s) >=5.0.0-RC1 <5.9.0-beta.1
Fix Suggestion:
Update to version 5.9.0-beta.1
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.6
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
HIGH
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
UNREPORTED
CVSS v3
Base Score:
7.2
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Neutralization of Special Elements Used in a Template Engine
EPSS
Base Score:
0.51