High severity7.2NVD Advisory· Published May 5, 2025· Updated Jun 17, 2026
CVE-2025-46731
CVE-2025-46731
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
craftcms/cmsPackagist | >= 4.0.0-RC1, < 4.14.13 | 4.14.13 |
craftcms/cmsPackagist | >= 5.0.0-RC1, < 5.6.15 | 5.6.15 |
Affected products
7cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*+ 4 more
- cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*range: >=4.1.0,<4.14.13
- cpe:2.3:a:craftcms:craft_cms:4.0.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:craftcms:craft_cms:4.0.0:rc2:*:*:*:*:*:*
- cpe:2.3:a:craftcms:craft_cms:4.0.0:rc3:*:*:*:*:*:*
- cpe:2.3:a:craftcms:craft_cms:5.0.0:rc1:*:*:*:*:*:*
Patches
Vulnerability mechanics
References
6- github.com/craftcms/cms/pull/17026nvdPatchWEB
- github.com/advisories/GHSA-7c58-g782-9j38ghsaADVISORY
- github.com/craftcms/cms/security/advisories/GHSA-7c58-g782-9j38nvdThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2025-46731ghsaADVISORY
- craftcms.com/knowledge-base/securing-craftnvdProductWEB
- github.com/craftcms/cms/security/advisories/GHSA-f3cw-hg6r-chfvnvdNot ApplicableWEB
News mentions
0No linked articles in our index yet.