CVE-2026-28697

9.1 CRITICAL
Published: March 04, 2026 Modified: March 05, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/craftcms/cms/pull/18216
Source: security-advisories@github.com
Issue Tracking Patch
https://github.com/craftcms/cms/pull/18219
Source: security-advisories@github.com
Issue Tracking Patch
https://github.com/craftcms/cms/security/advisories/GHSA-v47q-jxvr-p68x
Source: security-advisories@github.com
Exploit Mitigation Patch Vendor Advisory

4 reference(s) from NVD

Quick Stats

CVSS v3 Score
9.1 / 10.0
EPSS (Exploit Probability)
0.5%
66th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

craftcms