2084AI Security Observatory

CVE

CVE-2026-28697

CVE-2026-28697CRIT 9.4EPSS 69%

CNA description

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 versions

All Craft CMS vulnerabilities →

  • > 5.0.0, < 5.9.0Fixed in 5.9.0
  • 5.0.0This version only
  • 5.0.0-rc1This version only
  • > 4.0.0, < 4.17.0Fixed in 4.17.0
  • 4.0.0This version only
  • 4.0.0-rc3This version only
  • 4.0.0-rc2This version only
  • 4.0.0-rc1This version only

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.