CMS
Craft CMS Contains a Potential Remote Code Execution Vulnerability via Twig SSTI
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.3high · scored by CNA · CWE-1336
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
craftcms cms
- >= 4.0.0-RC1, < 4.14.13
- >= 5.0.0-RC1, < 5.6.15
Fixed in 4.14.13, 5.6.15
Mitigation
Upgrade cms to 4.14.13 or 5.6.15 or later.
References
- Vendor advisory github.com/craftcms/cms/security/advisories/GH…
- Vendor advisory github.com/craftcms/cms/security/advisories/GH…
- Patch github.com/craftcms/cms/pull/17026
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 informational
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| singetu0096/CVE-2025-46731 | 6 May 2025 +7 h | 0 | Informational · write-up |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.