CVE-2025-46731

High

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.

SeverityHigh
CVSS7.2
Exploit probability—
ProductCraftcms Craft Cms
PublishedMay 5, 2025
First seenMay 5, 2025
Weakness typeCWE-1336CWE-1336

How to fix

Update
  • craftcms craft_cms4.14.13, 5.6.15 or later
  • craftcms/cms4.14.13, 5.6.15 or later

Affected products

ProductAffected versionsFixed in
craftcms craft_cms4.1.0 ≤ v < 4.14.13, 5.1.0 ≤ v < 5.6.15, 4.0.0, 5.0.04.14.13, 5.6.15
craftcms/cmsPackagist4.0.0-RC1 ≤ v < 4.14.13, 5.0.0-RC1 ≤ v < 5.6.154.14.13, 5.6.15

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.