CVE-2026-72779
published high CVSS 4.0 · 8.7Craft CMS 5.0.0-RC1 before 5.10.6 Arbitrary File Read via SplFileObject
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| craftcms | — | cms5.0.0-RC1 to < 5.10.6 (affected · semver) · 5.10.6 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| craftcms | — | cms4.0.0-RC1 to < 4.18.2 (affected · semver) · 4.18.2 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.5 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| craftcms | cms | 5.0.0-RC1 to < 5.10.6 (affected · semver)5.10.6 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| craftcms | cms | 4.0.0-RC1 to < 4.18.2 (affected · semver)4.18.2 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-184 Incomplete List of Disallowed Inputs
References
2- GitHub Security Advisory (GHSA-957r-qf9p-67xw) https://github.com/craftcms/cms/security/advisories/GHSA-957r-qf9p-67xw
- VulnCheck Advisory: Craft CMS 5.0.0-RC1 before 5.10.6 Arbitrary File Read via SplFileObject https://www.vulncheck.com/advisories/craft-cms-rc1-before-arbitrary-file-read-via-splfileobject
Provider assertions
2VulnCheck · cna
Craft CMS 5.0.0-RC1 before 5.10.6 Arbitrary File Read via SplFileObject
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 24b6bb1702c6077ae68ce88f1151b180aa8471676b61513ec07bf6942cc953c0
- Ingested
- 09 Oct 2026, 16:37:07 UTC
- Source record
- Official CVE record