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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46731.json",
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-1336"
]
}{
"versions": [
{
"introduced": "4.1.0"
},
{
"fixed": "4.14.13"
},
{
"introduced": "5.1.0"
},
{
"fixed": "5.6.15"
},
{
"introduced": "0"
},
{
"last_affected": "4.0.0-rc1"
},
{
"introduced": "0"
},
{
"last_affected": "4.0.0-rc2"
},
{
"introduced": "0"
},
{
"last_affected": "4.0.0-rc3"
},
{
"introduced": "0"
},
{
"last_affected": "5.0.0-rc1"
}
]
}