Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-28783
Published:March 04, 2026
Updated:June 27, 2026
Craft is a content management system (CMS). Prior to 5.9.0-beta.1 and 4.17.0-beta.1, Craft CMS implements a blocklist to prevent potentially dangerous PHP functions from being called via Twig non-Closure arrow functions. In order to be able to successfully execute this attack, you need to either have allowAdminChanges enabled on production, or a compromised admin account, or an account with access to the System Messages utility. Several PHP functions are not included in the blocklist, which could allow malicious actors with the required permissions to execute various types of payloads, including RCEs, arbitrary file reads, SSRFs, and SSTIs. This vulnerability is fixed in 5.9.0-beta.1 and 4.17.0-beta.1.
Affected Packages
https://github.com/craftcms/cms.git (GITHUB):
Affected version(s) >=5.0.0 <5.9.0-beta.1
Fix Suggestion:
Update to version 5.9.0-beta.1
https://github.com/craftcms/cms.git (GITHUB):
Affected version(s) >=4.16.0 <4.17.0
Fix Suggestion:
Update to version 4.17.0
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
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
Do you need more information?
Contact Us
CVSS v4
Base Score:
9.4
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
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
Exploit Maturity
UNREPORTED
CVSS v3
Base Score:
9.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Control of Generation of Code ('Code Injection')
Incomplete List of Disallowed Inputs
Improper Neutralization of Special Elements Used in a Template Engine
EPSS
Base Score:
0.46