CVE-2026-72779: Incomplete List of Disallowed Inputs in craftcms cms
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.
AI Analysis
Technical Summary
The vulnerability in Craft CMS arises from an incomplete blocklist in the create() Twig function that restricts class instantiation. The blocklist omits SplFileObject, allowing an authenticated administrator with allowAdminChanges=true to instantiate this class in a non-sandboxed template context. By configuring a malicious entry type title or URI format, the attacker can cause arbitrary files on the server, such as sensitive configuration files (.env), to be read and displayed as entry titles when users create entries in the affected section. This leads to exposure of sensitive information stored on the server.
Potential Impact
An authenticated administrator can read arbitrary files on the server, including sensitive files like .env that contain security keys and database credentials. This exposure can lead to further compromise of the system and sensitive data leakage. The vulnerability requires administrative privileges with allowAdminChanges enabled, limiting the attack surface to trusted users with elevated permissions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict administrative access and disable allowAdminChanges if possible to reduce risk. Monitor vendor communications for updates and apply patches promptly once released.
CVE-2026-72779: Incomplete List of Disallowed Inputs in craftcms cms
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.
CVSS v4.0
Score 8.7high
Affected software
pkg:github/craftcms/cmsRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Craft CMS arises from an incomplete blocklist in the create() Twig function that restricts class instantiation. The blocklist omits SplFileObject, allowing an authenticated administrator with allowAdminChanges=true to instantiate this class in a non-sandboxed template context. By configuring a malicious entry type title or URI format, the attacker can cause arbitrary files on the server, such as sensitive configuration files (.env), to be read and displayed as entry titles when users create entries in the affected section. This leads to exposure of sensitive information stored on the server.
Potential Impact
An authenticated administrator can read arbitrary files on the server, including sensitive files like .env that contain security keys and database credentials. This exposure can lead to further compromise of the system and sensitive data leakage. The vulnerability requires administrative privileges with allowAdminChanges enabled, limiting the attack surface to trusted users with elevated permissions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict administrative access and disable allowAdminChanges if possible to reduce risk. Monitor vendor communications for updates and apply patches promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-10T15:09:12.955Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7b18a1bf8831d539b8610d
Added to database: 08/11/2026, 12:42:09 UTC
Last enriched: 08/11/2026, 13:03:02 UTC
Last updated: 08/12/2026, 02:40:59 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.