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…

Duplicate Advisory: Craft CMS: RCE via missing cleanseConfig in FieldsController::actionRenderCardPreview

0
High
Published: 06/21/2026 (06/21/2026, 15:31:24 UTC)
Source: GCVE Database
Product: craftcms/cms

Description

Craft CMS versions 5.5.0 through 5.9.13 contain a remote code execution vulnerability in the FieldsController::actionRenderCardPreview() method. This flaw allows an authenticated admin user to inject Yii2 event handlers via the fieldLayoutConfig POST parameter, leading to arbitrary PHP code execution and potential disclosure of sensitive information such as environment variables and security keys. The vulnerability is fixed in version 5.9.14.

CVSS v3.1

Score 7.2high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected software

Packagistghsa
craftcms/cms
Affected versions
>=5.5.0 <=5.9.13

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: 08/07/2026, 06:27:03 UTC

Technical Analysis

Craft CMS (composer package craftcms/cms) versions >=5.5.0 and <=5.9.13 have a remote code execution vulnerability in the FieldsController::actionRenderCardPreview() method. The issue arises because the fieldLayoutConfig POST parameter is passed directly to Fields::createLayout() without cleansing via Component::cleanseConfig(). This omission allows an authenticated admin user to inject Yii2 event handlers (e.g., 'on init' keys) to execute arbitrary PHP code and disclose sensitive data including environment variables containing database credentials and the CRAFT_SECURITY_KEY. The vulnerability is addressed in version 5.9.14.

Potential Impact

An authenticated administrator can exploit this vulnerability to execute arbitrary PHP code remotely, potentially leading to full system compromise. Additionally, sensitive information such as environment variables, database credentials, and security keys may be disclosed. The CVSS v3.1 score is 7.2 (High), reflecting the network attack vector, low attack complexity, required high privileges, no user interaction, and high confidentiality, integrity, and availability impacts.

Mitigation Recommendations

Upgrade Craft CMS to version 5.9.14 or later, where this vulnerability is fixed. No other mitigations are indicated. Patch status is confirmed by the vendor advisory stating the issue is resolved in 5.9.14.

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

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-pmm4-v8f6-4vpp
Osv Schema Version
1.4.0
Aliases
[]
Ecosystems
["Packagist"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a7573b9bf8831d539d940d0

Added to database: 08/07/2026, 05:57:13 UTC

Last enriched: 08/07/2026, 06:27:03 UTC

Last updated: 08/07/2026, 06:27:03 UTC

Views: 2

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