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.16.6 and from 5.0.0-RC1 before 5.8.7 are vulnerable to a Twig server-side template injection that may lead to remote code execution. An attacker would need administrator access to the Control Panel, with allowAdminChanges enabled, which Craft CMS advises against in non-development environments. Upgrade to 4.16.6 or 5.8.7, or later.
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 |
|---|---|---|---|---|
| 6.1 | Medium | 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.010, the 63rd percentile, on 15 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-crcq-738g-pqvc
- OSV: GHSA-crcq-738g-pqvc
- github.com/craftcms/cms/security/advisories/GHSA-crcq-738g-pqvc
- github.com/craftcms/cms/security/advisories/GHSA-f3cw-hg6r-chfv
- nvd.nist.gov/vuln/detail/CVE-2025-57811
- github.com/craftcms/cms/pull/17612
- github.com/craftcms/cms/commit/e77f8a287dcdda41f1724f525d03542f18566cbc
- github.com/craftcms/cms