Skip to main content
← All vulnerabilities
CVE-2025-46731GHSA-7C58-G782-9J38

Craft CMS Contains a Potential Remote Code Execution Vulnerability via Twig SSTI

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.14.13, 5.6.15
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • craftcms cms

    From 4.0.0-RC1 · fixed in 4.14.13; From 5.0.0-RC1 · fixed in 5.6.15

  • craftcms/cmsPackagist

    From 4.0.0-RC1 · fixed in 4.14.13

  • craftcms/cmsPackagist

    From 5.0.0-RC1 · fixed in 5.6.15

References 5

GitHub · craftcms/cms

craftcms.com

GitHub · singetu0096/CVE-2025-46731