CVE-2026-72779
Craft CMS 5.0.0-RC1 before 5.10.6 Arbitrary File Read via SplFileObject
Record summary
CVE-2026-72779 has a selected CVSS score of 8.7 (high).
Description
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.
Exploitation context
CISA SSVC decision
CISA Coordinator · SSVC 2.0.3 · Evaluated Aug 11, 2026 · Source: CVE List
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
Default status: unaffected | CVE List | 5.0.0-RC1 to < 5.10.6 | affected |
| 5.10.6 | unaffected | ||
| 4.0.0-RC1 to < 4.18.2 | affected | ||
| 4.18.2 | unaffected |