Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2025-68454
January 05, 2026
Craft is a platform for creating digital experiences. Versions 5.0.0-RC1 through 5.8.20 and 4.0.0-RC1 through 4.16.16 are vulnerable to potential authenticated Remote Code Execution via Twig SSTI. For this to work, users must have administrator access to the Craft Control Panel, and allowAdminChanges must be enabled, which is against Craft CMS' recommendations for any non-dev environment. Alternatively, a non-administrator account with allowAdminChanges disabled can be used, provided access to the System Messages utility is available. 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. Users should update to the patched versions (5.8.21 and 4.16.17) to mitigate the issue.
Affected Packages
https://github.com/craftcms/cms.git (GITHUB):
Affected version(s) >=4.0.0 <4.16.17
Fix Suggestion:
Update to version 4.16.17
https://github.com/craftcms/cms.git (GITHUB):
Affected version(s) >=5.8.0 <5.8.21
Fix Suggestion:
Update to version 5.8.21
craftcms/cms (PHP):
Affected version(s) >=4.0.0 <4.16.17
Fix Suggestion:
Update to version 4.16.17
craftcms/cms (PHP):
Affected version(s) >=4.0.0-RC1 <4.16.17
Fix Suggestion:
Update to version 4.16.17
craftcms/cms (PHP):
Affected version(s) >=5.0.0-RC1 <5.8.21
Fix Suggestion:
Update to version 5.8.21
craftcms/cms (PHP):
Affected version(s) >=5.0.0 <5.8.21
Fix Suggestion:
Update to version 5.8.21
Do you need more information?
Contact Us
CVSS v4
Base Score:
5.2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
LOW
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:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
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.43