7.3high
Craft CMS Contains a Potential Remote Code Execution Vulnerability via Twig SSTI
- Severity
- 7.3high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 1.54% (higher than 75% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-7c58-g782-9j38
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| craftcms cms | >= 4.0.0-RC1, < 4.14.13, >= 5.0.0-RC1, < 5.6.15 | CVE List |
| craftcms/cms (Packagist) | from 4.0.0-RC1 before 4.14.13, from 5.0.0-RC1 before 5.6.15 | GitHub Advisory Database |
| craftcms craft_cms | from 4.1.0 before 4.14.13, from 5.1.0 before 5.6.15, 4.0.0, 5.0.0 | NVD |
All scores
| GitHub_M | 7.3high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P |
| NVD | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
GitHub Advisory Database
Craft CMS contains a potential remote code execution vulnerability via Twig SSTI. You must have administrator access and ALLOW_ADMIN_CHANGES must be enabled for this to work.
https://craftcms.com/knowledge-base/securing-craft#set-allowAdminChanges-to-false-in-production
Note: This is a follow-up to https://github.com/craftcms/cms/security/advisories/GHSA-f3cw-hg6r-chfv
Users should update to the patched versions (4.14.13 and 5.6.15) to mitigate the issue.
References
NVD (es)
Craft es un sistema de gestión de contenido. Las versiones de Craft CMS en la rama 4.x anterior a la 4.14.13 y en la rama 5.x anterior a la 5.6.16 contienen una posible vulnerabilidad de ejecución remota de código a través de Twig SSTI. Se requiere acceso de administrador y la opción `ALLOW_ADMIN_CHANGES` debe estar habilitada para que esto funcione. Los usuarios deben actualizar a las versiones parcheadas 4.14.13 o 5.6.15 para mitigar el problema.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-46731 changed 2025-05-05 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7c58-g782-9j38 changed 2026-02-04 | CC-BY-4.0 |
| NVD | CVE-2025-46731 changed 2026-06-17 | Public domain |