CVE-2026-28697
CVE-2026-28697 — Craft Affected by Authenticated RCE via "craft.app.fs.write()" in Twig Templates
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.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
1%
chance of exploitation in 30 days
CVSS base
9.4
CRITICAL
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
PoC
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.4 | CVSS 4.0 | CRITICAL | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-1336
References
4 on the record
- github.com/craftcms/cms/security/advisories/GHSA-v47q-jxvr-p68x
x_refsource_CONFIRM
- github.com/craftcms/cms/pull/18216
x_refsource_MISC
- github.com/craftcms/cms/pull/18219
x_refsource_MISC
- github.com/craftcms/cms/commit/9dc2a4a3ec8e9cd5e8c0d1129f36371437519197
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-32432 Craft CMS Allows Remote Code ExecutionCVSS 10.0 · CISA KEV
- CVE-2019-9874 Sitecore CMS and Experience Platform (XP) Deserialization VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2019-9875 Sitecore CMS and Experience Platform (XP) Deserialization VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2023-41892 Craft CMS Remote Code Execution vulnerabilityCVSS 9.8
- CVE-2026-75650 Adobe Commerce | Improper Neutralization of Special Elements Used in a Template Engine (CWE-1336)CVSS 10.0 · CISA KEV
- CVE-2024-4040 CrushFTP VFS Sandbox Escape VulnerabilityCVSS 10.0 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.