{"id":"CVE-2026-72779","published":"2026-08-11T12:17:14Z","modified":"2026-10-08T15:24:26Z","title":"Craft CMS 5.0.0-RC1 before 5.10.6 Arbitrary File Read via SplFileObject","vendor":"Craft CMS","product":"cms","tier":"tail","description":{"text":"Craft CMS 5.0.0-RC1 before 5.10.6 and 4.0.0-RC1 before 4.18.2 contain an arbitrary file read vulnerability. The create() Twig function restricts class instantiation using a 5-entry blocklist that does not include SplFileObject, allowing an authenticated administrator (with allowAdminChanges=true) to configure a malicious entry type title or URI format that instantiates SplFileObject in a non-sandboxed template context. When a user subsequently creates an entry in the affected section, arbitrary files on the server (such as .env containing the security key and database credentials) are read and rendered as entry titles.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00376,"percentile":0.32369,"provenance":"source"},"cwes":[{"id":"CWE-184","name":"Incomplete List of Disallowed Inputs"}],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-957r-qf9p-67xw","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/craft-cms-rc1-before-arbitrary-file-read-via-splfileobject","tags":["third-party-advisory"]}],"priority":{"score":9.6,"factors":[{"name":"EPSS percentile","points":6.47},{"name":"CVSS severity","points":3.15}]},"vendorSlug":"craft-cms","affectedVersions":[{"vendor":"craftcms","product":"cms","versions":[">= 5.0.0-RC1, < 5.10.6"]},{"vendor":"craftcms","product":"cms","versions":[">= 4.0.0-RC1, < 4.18.2"]}],"fixedVersions":[{"vendor":"craftcms","product":"cms","versions":["5.10.6"]},{"vendor":"craftcms","product":"cms","versions":["4.18.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-11T14:54:30.379349Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"craftcms/cms","vulnerableRanges":[">=5.0.0-RC1, <5.10.6",">=4.0.0-RC1, <4.18.2"],"patched":["5.10.6","4.18.2"],"from":["GHSA-957r-qf9p-67xw"],"provenance":"source"}],"summary":{"text":"Craft CMS versions 5.0.0-RC1 before 5.10.6 and 4.0.0-RC1 before 4.18.2 contain a flaw in the create() Twig function, whose class-instantiation blocklist omits SplFileObject. An authenticated administrator with allowAdminChanges enabled can exploit this by setting a malicious entry type title or URI format that instantiates SplFileObject, and when a user then creates an entry in the affected section, arbitrary server files such as the .env file are read and rendered as entry titles.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:08:58Z"},"euvd":{"id":"EUVD-2026-56103","exploited":false,"provenance":"source"}}