Live threats

All CVEs / Craftcms

CVE-2025-46731Craftcms Craft Cms

High 7.3

Priority
44
CVSS 4.0
7.3
EPSS
—
Auth required
Yes
Published
May 5, 2025
Updated
Jun 17, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-1336
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Craft Cms.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist craftcms/cms ≥ 4.0.0-RC1 < 4.14.13 4.14.13 composer require "craftcms/cms:^4.14.13"
Packagist craftcms/cms ≥ 5.0.0-RC1 < 5.6.15 5.6.15 composer require "craftcms/cms:^5.6.15"

Per OSV / GitHub Advisories (GHSA-7c58-g782-9j38). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
craftcmscraft_cms≥ 4.1.0 < 4.14.13
craftcmscraft_cms≥ 5.1.0 < 5.6.15
craftcmscraft_cms4.0.0
craftcmscraft_cms4.0.0
craftcmscraft_cms4.0.0
craftcmscraft_cms5.0.0

Official sources

References

Links published by the sources. Open them with care.