Vulnerability in Craftcms Cms
CVE-2025-46731
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.015, 75.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Craftcms Cms — versions >= 4.0.0-RC1, < 4.14.13, >= 5.0.0-RC1, < 5.6.15
- Craftcms Craft Cms — versions 4.0.0, 5.0.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- singetu0096/CVE-2025-46731 (last pushed 2026-11-03)
Also mentioned in 4 other repositories (ARPSyndicate/cve-scores, fkie-cad/nvd-json-data-feeds, nomi-sec/PoC-in-GitHub, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/craftcms/cms/security/advisories/GHSA-7c58-g782-9j38 (Third Party Advisory)
- https://github.com/craftcms/cms/security/advisories/GHSA-f3cw-hg6r-chfv (Not Applicable)
- https://craftcms.com/knowledge-base/securing-craft#set-allowAdminChanges-to-false-in-production (Product)
- http://github.com/craftcms/cms/pull/17026 (Patch)
This CVE has public exploit evidence. See the latest CVEs with public exploits.