cvedb.io
CVE-2026-28697
CRITICAL · CVSS 9.1
EPSS exploitation probability: 0%
Published 2026-03-04T17:16:21.210 · Last modified 2026-06-17T10:28:55.610

Summary

Craft is a content management system (CMS). Prior to 4.17.0-beta.1 and 5.9.0-beta.1, an authenticated administrator can achieve Remote Code Execution (RCE) by injecting a Server-Side Template Injection (SSTI) payload into Twig template fields (e.g., Email Templates). By calling the craft.app.fs.write() method, an attacker can write a malicious PHP script to a web-accessible directory and subsequently access it via the browser to execute arbitrary system commands. This vulnerability is fixed in 4.17.0-beta.1 and 5.9.0-beta.1.

Affected products

craftcms — craft_cms

Does this affect you?

Add your gear to cvedb and we'll alert you only when craftcms ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.