Vulnerabilities · 2025 · Craftcms
CVE-2025-46731
Craftcms Craft Cms vulnerability
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.
Affected products
Craft Cms. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Craftcms Craft Cms runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/craftcms/cms/pull/17026 · Patch
- github.com/craftcms/cms/security/advisories/GHSA-7c58-g782-9j38 · Third Party Advisory
- craftcms.com/knowledge-base/securing-craft#set-allowAdminChanges-to-false-in-production
- github.com/craftcms/cms/security/advisories/GHSA-f3cw-hg6r-chfv
- nvd.nist.gov/vuln/detail/CVE-2025-46731
- github.com/advisories/GHSA-7c58-g782-9j38
- nvd.nist.gov/vuln/detail/CVE-2025-46731
- cve.org/CVERecord?id=CVE-2025-46731
More vulnerabilities in Craftcms products
CVE-2026-25490CVE-2026-25489CVE-2026-25488CVE-2026-25487CVE-2026-25486CVE-2026-25485CVE-2026-25484CVE-2026-25483All 70
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.