A AegiFlow
HIGHCVSS 8.7EPSS 0.2%

CVE-2026-72779

CVE-2026-72779 updated by NVD

Published
2026-08-06
Modified
2026-09-10
EPSS percentile
12%
Sources
github-advisory, nvd

Summary

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.

Affected packages

EcosystemPackageAffected versionsFixed versions
Packagistcraftcms/cms5.10.6, 4.18.2

Remediation: Upgrade to 5.10.6 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.