CVE-2025-46731 Details
Description
Craft is a content management system. Versions of Craft CMS on the 4.x branch prior to 4.14.13 and on the 5.x branch prior to 5.6.16 contains a potential remote code execution vulnerability via Twig SSTI. One must have administrator access and `ALLOW_ADMIN_CHANGES` must be enabled for this to work. Users should update to the patched versions 4.14.13 or 5.6.15 to mitigate the issue.
A remote code execution vulnerability has been identified in Craft CMS versions 4.x prior to 4.14.13 and 5.x prior to 5.6.16. This vulnerability arises from missing path normalization in the FileHelper, allowing for server-side template injection (SSTI) through Twig. Exploitation requires administrator access and the 'ALLOW_ADMIN_CHANGES' setting to be enabled.
Users should update to Craft CMS versions 4.14.13 or 5.6.15. Additionally, 'ALLOW_ADMIN_CHANGES' should be set to false in production environments.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 5, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1336 | Improper Neutralization of Special Elements Used in a Template Engine | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| craftcms craft cms | >= 4.1.0, < 4.14.13 >= 5.1.0, < 5.6.15 4.0.0 rc1 4.0.0 rc2 4.0.0 rc3 5.0.0 rc1 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 3, 2025 | Initial Analysis | [email protected] |
| May 5, 2025 | New CVE Received | [email protected] |