CVE-2025-46731 – craftcms/cms
Package
Manager: composer
Name: craftcms/cms
Vulnerable Version: >=4.0.0-rc1 <4.14.13 || >=5.0.0-rc1 <5.6.15
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N/E:H/RL:U/RC:C
CVSS v4.0: 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
EPSS: 0.00177 pctl0.39547
Details
Craft CMS Contains a Potential Remote Code Execution Vulnerability via Twig SSTI Craft CMS contains a potential remote code execution vulnerability via Twig SSTI. You must have administrator access and `ALLOW_ADMIN_CHANGES` must be enabled for this to work. https://craftcms.com/knowledge-base/securing-craft#set-allowAdminChanges-to-false-in-production Note: This is a follow-up to https://github.com/craftcms/cms/security/advisories/GHSA-f3cw-hg6r-chfv Users should update to the patched versions (4.14.13 and 5.6.15) to mitigate the issue. ### References https://github.com/craftcms/cms/pull/17026
Metadata
Created: 2025-05-05T19:35:37Z
Modified: 2025-05-05T22:07:56Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/05/GHSA-7c58-g782-9j38/GHSA-7c58-g782-9j38.json
CWE IDs: ["CWE-1336"]
Alternative ID: GHSA-7c58-g782-9j38
Finding: F422
Auto approve: 1