PatchSiren cyber security CVE debrief
CVE-2026-109304 craftcms CVE debrief
CVE-2026-109304 is a medium-severity vulnerability in Craft CMS that allows for arbitrary file reads via the Twig create() DOMDocument. Affected versions include Craft CMS 4.0.0 before 4.18.7 and 5.0.0 before 5.10.14. Attackers with the ability to set an entry-type title format can exploit this vulnerability to expose local file contents to non-admin users who can view entries.
- Vendor
- craftcms
- Product
- cms
- CVSS
- MEDIUM 6.9
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-12
- Original CVE updated
- 2026-10-12
- Advisory published
- 2026-10-12
- Advisory updated
- 2026-10-12
Who should care
Defenders responsible for Craft CMS installations, particularly those with user-controlled entry-type title formats, should assess exposure and apply patches. They should also review compensating controls for exposed systems while remediation is scheduled and verified, and monitor for potential file reads and unauthorized access. Additionally, defenders should track exceptions, retest remediated assets, and close the item only after evidence is documented.
Why it matters
CVE-2026-109304 is a medium-severity vulnerability in Craft CMS that allows for arbitrary file reads. Defenders should prioritize verifying exposure and applying patches to prevent potential unauthorized file reads and exposure of sensitive local file contents.
- Potential unauthorized file reads
- Possible exposure of sensitive local file contents
- Required verification of Craft CMS versions and configurations
- Need for patch application to prevent exploitation
Technical summary
The vulnerability exists in the Twig create() class blocklist, which does not cover DOMDocument. Attackers can use create('DOMDocument').loadHTMLFile() with textContent to expose local file contents. This allows for arbitrary file reads in Craft CMS 4.0.0 before 4.18.7 and 5.0.0 before 5.10.14. The vulnerability can be exploited by attackers with the ability to set an entry-type title format, including via project-config/apply, to expose local file contents to non-admin users who can view entries. Defenders should prioritize verifying exposure and applying patches to prevent potential unauthorized file reads and exposure of sensitive local file contents.
Defensive priority
Defenders should prioritize verifying exposure and applying patches, focusing on systems with user-controlled entry-type title formats.
Recommended defensive actions
- Verify exposure by checking Craft CMS versions and configurations
- Apply patches to update to Craft CMS 4.18.7 or 5.10.14
- Restrict access to entry-type title formats to prevent exploitation
- Monitor for potential file reads and unauthorized access
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
Evidence notes
The CVE Program record and NVD vulnerability detail provide official information on the vulnerability. Supplemental sources include a GitHub Security Advisory and a VulnCheck Advisory. The vulnerability allows for arbitrary file reads via the Twig create() DOMDocument in Craft CMS 4.0.0 before 4.18.7 and 5.0.0 before 5.10.14. Defenders should verify exposure and apply patches, focusing on systems with user-controlled entry-type title formats.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-109304 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-109304
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-109304 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-109304
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Craft CMS 4.0.0 before 4.18.7 and 5.0.0 before 5.10.14 Arbitrary File Read via Twig create() DOM
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/109xxx/CVE-2026-109304.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/craftcms/cms/security/advisories/GHSA-j5wg-m2pr-35qc
Supplemental source - vendor-advisory
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/craft-cms-4.0.0-before-4.18.7-and-5.0.0-before-5.10.14-arbitrary-file-read-via-twig-create-domdocument
Supplemental source - third-party-advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.