Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Craft CMS (craftcms/cms) versions from 4.0.0-RC1 before 4.17.0-beta.1 and from 5.0.0-RC1 before 5.9.0-beta.1 are affected. An authenticated administrator with access to Twig template fields such as email templates, or to the System Messages utility, can inject a template payload that uses the craft.app.fs.write() method to write a PHP script to a web-accessible location, then run arbitrary system commands by requesting it. Upgrade to 4.17.0-beta.1 or 5.9.0-beta.1.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 9.4 | Critical | 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.012, the 68th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:26 UTC First seen by agentprime
- 31 Oct 2026, 14:26 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-v47q-jxvr-p68x
- OSV: GHSA-v47q-jxvr-p68x
- github.com/craftcms/cms/security/advisories/GHSA-v47q-jxvr-p68x
- nvd.nist.gov/vuln/detail/CVE-2026-28697
- github.com/craftcms/cms/pull/18216
- github.com/craftcms/cms/pull/18219
- github.com/craftcms/cms/commit/9dc2a4a3ec8e9cd5e8c0d1129f36371437519197
- github.com/craftcms/cms