Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Craft CMS (Packagist craftcms/cms) versions from 4.0.0-RC1 before 4.18.2 and from 5.0.0-RC1 before 5.10.6 are affected by an arbitrary file read flaw. The Twig create() function, added in 5.9.0, can instantiate PHP classes such as SplFileObject from non-sandboxed template contexts like entry type title and URI formats, because the blocklist does not cover that class. An attacker needs admin access with allowAdminChanges enabled, and can then read arbitrary server files, such as .env secrets, with file contents shown as entry titles. Upgrade to 4.18.2 or 5.10.6.
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 |
|---|---|---|---|---|
| 8.7 | High | 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | CNA (VulnCheck) |
- CISA KEV Not listed.
- EPSS 0.0038, the 31st percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:06 UTC First seen by agentprime
- 31 Oct 2026, 14:06 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-957r-qf9p-67xw
- OSV: GHSA-957r-qf9p-67xw
- github.com/craftcms/cms/security/advisories/GHSA-957r-qf9p-67xw
- nvd.nist.gov/vuln/detail/CVE-2026-72779
- github.com/craftcms/cms/commit/7c96fd73df936a10e8f85ae6ef61a9fc3f277c12
- github.com/craftcms/cms/commit/87978f11c8f986c40ef41b941d79547230c4d6d9
- github.com/craftcms/cms
- github.com/craftcms/cms/releases/tag/4.18.2
- github.com/craftcms/cms/releases/tag/5.10.6
- www.vulncheck.com/advisories/craft-cms-rc1-before-arbitrary-file-read-via-splfileobject