CVE-2025-46731
published high CVSS 4.0 · 7.3Craft CMS Contains a Potential Remote Code Execution Vulnerability via Twig SSTI
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| craftcms | — | cms>= 4.0.0-RC1, < 4.14.13 · >= 5.0.0-RC1, < 5.6.15 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| craftcms | cms | >= 4.0.0-RC1, < 4.14.13 (affected)>= 5.0.0-RC1, < 5.6.15 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-1336 CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
References
4Provider assertions
2GitHub_M · cna
Craft CMS Contains a Potential Remote Code Execution Vulnerability via Twig SSTI
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 71bd7e450ca7397ebfbfb367a072ae04dcdb16239bd3b8fcd2472e6c128118ec
- Ingested
- 23 Sep 2026, 08:49:40 UTC
- Source record
- Official CVE record