cbcvebase.
CVE-2026-28697
published 2026-03-04

CVE-2026-28697: 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…

PriorityP260critical9.1CVSS 3.1
AVNACLPRHUINSCCHIHAH
EPSS
1.07%
60.5th percentile
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

8 ranges
VendorProductVersion rangeFixed in
craftcmscms
craftcmscms
craftcmscms>= 4.0.0-RC1 < 4.17.0-beta.14.17.0-beta.1
craftcmscms>= 5.0.0-RC1 < 5.9.0-beta.15.9.0-beta.1
craftcmscraft_cms< 4.17.04.17.0
craftcmscraft_cms< 5.9.05.9.0
craftcmscraft_cms
craftcmscraft_cms

Detection & IOCsextracted from sources · hover to see the quote

  • Look for SSTI payloads injected into Twig template fields (e.g., Email Templates) in Craft CMS, particularly calls to the `craft.app.fs.write()` method which can be used to write malicious PHP scripts to web-accessible directories.
  • Monitor web server access logs for HTTP requests to newly created or unexpected PHP files in web-accessible directories, which may indicate a dropped webshell following exploitation.
  • ·The vulnerability requires an authenticated administrator account to exploit; unauthenticated exploitation is not possible. Scope detection efforts accordingly — focus on admin-level session activity and template modification events.
  • ·Affected versions are Craft CMS prior to 4.17.0-beta.1 and 5.9.0-beta.1. Instances running these or earlier versions of the craftcms/cms package should be prioritized for patching and monitoring.

CVSS provenance

nvdv3.19.1CRITICALCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
nvdv4.09.4CRITICALCVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.