Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-55792: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in craftcms cms

0
Medium
VulnerabilityCVE-2026-55792cvecve-2026-55792cwe-200
Published: 07/01/2026 (07/01/2026, 23:20:28 UTC)
Source: CVE Database V5
Vendor/Project: craftcms
Product: cms

Description

A vulnerability in Craft CMS versions from 4.0.0-RC1 up to but not including 4.18.0, and from 5.0.0-RC1 up to but not including 5.10.0, allows users with the utility:system-messages permission to embed a file-reading payload in system email templates via the dataUrl() Twig function. This can lead to exposure of sensitive files such as the .env file, which contains critical secrets including database passwords and the CRAFT_SECURITY_KEY. The CRAFT_SECURITY_KEY can be used to forge session tokens and escalate privileges to full admin takeover. The issue is fixed in versions 4.18.0 and 5.10.0.

CVSS v4.0

Score 6.0medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

Packagistmore threats →ai
craftcms/cms
pkg:composer/craftcms/cms

Run 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

AILast updated: 07/02/2026, 00:06:37 UTC

Technical Analysis

Craft CMS includes the dataUrl() Twig function in its sandbox allowlist, which permits any control panel user with the utility:system-messages permission to embed file-reading payloads in system email templates. When emails are sent, the server reads the specified file and embeds its base64-encoded contents in the email body. The .env file, containing sensitive credentials and keys, bypasses existing protection checks and can be fully exfiltrated. Possession of the CRAFT_SECURITY_KEY enables attackers to forge session tokens, leading to full administrative account takeover. This vulnerability affects Craft CMS versions >=4.0.0-RC1 <4.18.0 and >=5.0.0-RC1 <5.10.0 and has been fixed in versions 4.18.0 and 5.10.0.

Potential Impact

Sensitive information such as database passwords, security keys, and API keys stored in the .env file can be exfiltrated by an attacker with limited permissions (utility:system-messages). This exposure enables attackers to forge session tokens and escalate privileges to full administrator control over the CMS, potentially compromising the entire system.

Mitigation Recommendations

A fix is available in Craft CMS versions 4.18.0 and 5.10.0. Users should upgrade to these or later versions to remediate this vulnerability. No other vendor advisory or patch information is provided, so patch status beyond these versions is not confirmed. Until upgraded, restrict the utility:system-messages permission to trusted users only.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-17T14:40:28.380Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a45a80827e9c797195b4144

Added to database: 07/01/2026, 23:51:36 UTC

Last enriched: 07/02/2026, 00:06:37 UTC

Last updated: 07/02/2026, 00:11:12 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses