# CVE-2026-72779: Craft CMS 5.0.0-RC1 before 5.10.6 Arbitrary File Read via SplFileObject

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-08-06T21:54:45.000Z
- Modified: 2026-10-24T15:10:00.190Z
- Also known as: GHSA-957r-qf9p-67xw
- Weaknesses: CWE-184
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- craftcms cms: from 5.0.0-RC1 before 5.10.6; from 4.0.0-RC1 before 4.18.2 (not affected: 5.10.6; 4.18.2)
- craftcms/cms (Packagist): from 5.0.0-RC1 before 5.10.6; from 4.0.0-RC1 before 4.18.2

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 4.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/craftcms/cms/security/advisories/GHSA-957r-qf9p-67xw> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/craft-cms-rc1-before-arbitrary-file-read-via-splfileobject> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-72779> (advisory)
- <https://github.com/craftcms/cms/commit/7c96fd73df936a10e8f85ae6ef61a9fc3f277c12> (web)
- <https://github.com/craftcms/cms/commit/87978f11c8f986c40ef41b941d79547230c4d6d9> (web)
- <https://github.com/craftcms/cms> (package)
- <https://github.com/craftcms/cms/releases/tag/4.18.2> (web)
- <https://github.com/craftcms/cms/releases/tag/5.10.6> (web)

## Sources

- CVE List: [CVE-2026-72779](https://www.cve.org/CVERecord?id=CVE-2026-72779), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-957r-qf9p-67xw](https://github.com/advisories/GHSA-957r-qf9p-67xw), CC-BY-4.0, modified 2026-09-01
- NVD: [CVE-2026-72779](https://nvd.nist.gov/vuln/detail/CVE-2026-72779), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-72779 · Whole record: https://cve.day/CVE-2026-72779.json · Rebuilt by cve.day 2026-11-25T22:59:32.250Z
