Vulnerabilities

CVE-2025-46731

High 7.2 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2025-05-05
Last modified
2026-06-17
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
1.3 % higher than 68 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
craftcms cms (Packagist) ≥ 4.0.0-RC1, < 4.14.13 Affected
craftcms cms (Packagist) ≥ 5.0.0-RC1, < 5.6.15 Affected
Craftcms Craft Cms 4.0.0 Affected
Craftcms Craft Cms 5.0.0 Affected
Craftcms Craft Cms ≥ 4.1.0, < 4.14.13 Affected
Craftcms Craft Cms ≥ 5.1.0, < 5.6.15 Affected

Weakness type

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities