CVE-2026-72779
Last modified
CVE-2026-72779 is a high-severity vulnerability rated 8.7/10 on the CVSS scale. 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.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| craftcms | cms | >= 5.0.0-RC1, < 5.10.6 |
| craftcms | cms | >= 4.0.0-RC1, < 4.18.2 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-72779?
How severe is CVE-2026-72779?
How do I fix CVE-2026-72779?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-72771n8n versions before 2.32.1 fail to enforce the Allowed HTTP …7.1
- CVE-2026-72772n8n before 2.32.1 (and before 2.31.5) is vulnerable to accou…8.9
- CVE-2026-72773n8n before 2.31.5 and 2.32.x before 2.32.1 contain a path-co…4.9
- CVE-2026-72774n8n before 1.123.67, 2.31.5, and 2.32.1 contains a credentia…7.1
- CVE-2026-72775n8n before 1.123.67, 2.31.5, and 2.32.1 contains a SQL injec…5.8
- CVE-2026-72778Craft CMS versions from 4.0.0-RC1 before 4.18.2 and from 5.0…8.8
- CVE-2026-72780Craft CMS before 5.10.5 fails to persist updated credential …7.1
- CVE-2026-72781Craft CMS versions >= 5.0.0-RC1 before 5.10.7 and >= 4.0.0-R…8.8
- CVE-2026-72782Craft CMS versions >= 5.0.0-RC1 before 5.10.6 and >= 4.0.0-R…7.1
- CVE-2026-72783Craft CMS versions >= 5.0.0-RC1 before 5.10.6 and >= 4.0.0-R…6.2
- CVE-2026-72784Craft CMS versions >= 5.0.0-RC1 before 5.10.6 and >= 4.0.0-R…6.9
- CVE-2026-72785Craft CMS 5.0.0-RC1 through 5.10.5 contains an incorrect aut…9.3
Are you affected by CVE-2026-72779?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
