Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Craftcms | Craft Cms | >= 4.1.0, < 4.14.13 |
Related Weaknesses (CWE)
References
- http://github.com/craftcms/cms/pull/17026Patch
- https://craftcms.com/knowledge-base/securing-craft#set-allowAdminChanges-to-falsProduct
- https://github.com/craftcms/cms/security/advisories/GHSA-7c58-g782-9j38Third Party Advisory
- https://github.com/craftcms/cms/security/advisories/GHSA-f3cw-hg6r-chfvNot Applicable
FAQ
What is CVE-2025-46731?
CVE-2025-46731 is a vulnerability with a CVSS score of 7.2 (HIGH). 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 S...
How severe is CVE-2025-46731?
CVE-2025-46731 has been rated HIGH with a CVSS base score of 7.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-46731?
Check the references section above for vendor advisories and patch information. Affected products include: Craftcms Craft Cms.