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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-55792— Craft CMS: Sensitive File Disclosure / Server-Side File Read

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.

CraftCMS cms是CraftCMS的内容管理系统。 Craft CMS存在信息泄露漏洞,该漏洞源于dataUrl() Twig函数被列入Twig沙盒白名单,允许具有utility:system-messages权限的控制面板用户在系统邮件模板中嵌入文件读取有效载荷,导致服务器读取目标文件并以base64编码的数据URL返回文件内容,从而泄露.env文件中的数据库密码、CRAFT_SECURITY_KEY和第三方API密钥,获取CRAFT_SECURITY_KEY可导致攻击者伪造会话令牌并完全接管管

AI Predicted 8.8 Difficulty: Easy EPSS 0.40% · P32

Affected Version Matrix 2

VendorProduct Version RangeStatus
craftcms cms >= 4.0.0-RC1, < 4.18.0 affected
>= 5.0.0-RC1, < 5.10.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-55792

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: Sensitive File Disclosure / Server-Side File Read
Source: CVE Program / CVE List V5
Vulnerability Description
Craft CMS is a content management system (CMS). In versions starting from 4.0.0-RC1 and prior to 4.18.0, and 5.0.0-RC1 and above, prior to 5.10.0, the dataUrl() Twig function is included in Craft’s Twig sandbox allowlist, allowing any control panel user granted the utility:system-messages permission to embed a file-reading payload into system email templates. When those emails are sent, the server reads the target file and returns its contents as a base64-encoded data URL embedded in the email body. The .env file, which typically contains the database password, CRAFT_SECURITY_KEY, and third-party API keys, passes all of Craft’s existing dataUrl() protection checks and is fully exfiltrated. Obtaining CRAFT_SECURITY_KEY enables an attacker to forge session tokens and escalate to full admin account takeover. This issue has been fixed in versions 4.18.0 and 5.10.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
信息暴露
Source: CVE Program / CVE List V5
Vulnerability Title
Craft CMS 信息泄露漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
CraftCMS cms是CraftCMS的内容管理系统。 Craft CMS存在信息泄露漏洞,该漏洞源于dataUrl() Twig函数被列入Twig沙盒白名单,允许具有utility:system-messages权限的控制面板用户在系统邮件模板中嵌入文件读取有效载荷,导致服务器读取目标文件并以base64编码的数据URL返回文件内容,从而泄露.env文件中的数据库密码、CRAFT_SECURITY_KEY和第三方API密钥,获取CRAFT_SECURITY_KEY可导致攻击者伪造会话令牌并完全接管管
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
craftcms cms >= 4.0.0-RC1, < 4.18.0 -

II. Public POCs for CVE-2026-55792

# 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-55792

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

Patches & Fixes for CVE-2026-55792 (1)

Vendor Advisories for CVE-2026-55792 (1)

Same Patch Batch · craftcms · 2026-07-01 · 9 CVEs total

CVE-2026-50284 Craft CMS: Missing peer-permission check in `AssetsController::actionDeleteFolder` allows
CVE-2026-50280 Craft CMS: Authorization bypass in `entries/move-to-section` via missing target-section sa
CVE-2026-50279 Craft CMS: Authorship spoofing in `entries/save-entry` via pre-check/post-mutation authori
CVE-2026-50283 Craft CMS: Unauthorized Deletion of Source Assets During File Replacement
CVE-2026-55793 Craft CMS: Stored XSS via Structure entry title in table view
CVE-2026-55790 Craft CMS: DOM XSS via GitHub issue title in CraftSupport widget
CVE-2026-55791 Craft CMS: Blind SSRF and Arbitrary JavaScript Injection via Host Header Poisoning in acti
CVE-2026-55794 Craft CMS: Potential authenticated Remote Code Execution via referrer redirect

IV. Related Vulnerabilities

V. Comments for CVE-2026-55792

No comments yet


Leave a comment