Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-109304— Craft CMS 4.0.0 before 4.18.7 and 5.0.0 before 5.10.14 Arbitrary File Read via Twig create() DOMDocument

Quick assessment

Affected
craftcms cms
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

在 Craft CMS 4.0.0 至 4.18.7(不含 4.18.7)以及 5.0.0 至 5.10.14(不含 5.10.14)版本中,存在任意文件读取漏洞。该漏洞的原因在于 Twig 的 方法所使用类黑名单未包含 类。攻击者若能设置条目类型标题格式(包括通过 方式),可利用 结合 读取本地文件内容,从而使得具备查看条目权限的非管理员用户也能访问敏感文件数据。

CVSS 4.9 · Medium

Possible ATT&CK Techniques 1 AI

T1005 · Data from Local System

Affected Version Matrix 4

VendorProduct Version RangeStatus
craftcms cms 4.0.0< 4.18.7 affected
4.18.7 unaffected
5.0.0< 5.10.14 affected
5.10.14 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-109304

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Craft CMS 4.0.0 before 4.18.7 and 5.0.0 before 5.10.14 Arbitrary File Read via Twig create() DOMDocument
Source: CVE Program / CVE List V5
Vulnerability Description
Craft CMS 4.0.0 before 4.18.7 and 5.0.0 before 5.10.14 contains an arbitrary file read vulnerability because the Twig create() class blocklist does not cover DOMDocument. Attackers able to set an entry-type title format, including via project-config/apply, can use create('DOMDocument').loadHTMLFile() with textContent to expose local file contents to non-admin users who can view entries.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
信息暴露
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
craftcms cms 4.0.0 ~ 4.18.7 -
craftcms cms 5.0.0 ~ 5.10.14 -

II. Public POCs for CVE-2026-109304

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-109304

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-109304 (2)

Same Patch Batch · craftcms · 2026-10-12 · 5 CVEs total

CVE-2026-109308 8.8 HIGH Craft CMS 4.0.0 before 4.18.7 and 5.0.0 before 5.10.14 RCE via actionCacheUpdates Behavior
CVE-2026-109305 8.8 HIGH Craft CMS 5.10.2 before 5.10.14 Twig Sandbox Bypass RCE via has some/has every
CVE-2026-109306 5.9 MEDIUM Craft CMS 5.0.0 before 5.10.14 Missing Authorization via app/switch-to-licensed-edition
CVE-2026-109307 4.7 MEDIUM Craft CMS 5.0.0 before 5.10.14 DOM XSS via returnUrl in 2FA Verification

IV. Related Vulnerabilities

V. Comments for CVE-2026-109304

No comments yet


Leave a comment