Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-28695
Published:March 04, 2026
Updated:June 27, 2026
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.
Affected Packages
https://github.com/craftcms/cms.git (GITHUB):
Affected version(s) >=0.9.0-alpha.2229 <4.17.0
Fix Suggestion:
Update to version 4.17.0
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
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.8.7 <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:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
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
POC
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 Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Improper Neutralization of Special Elements Used in a Template Engine
Improper Control of Generation of Code ('Code Injection')
EPSS
Base Score:
0.56