CVE-2026-86730

Craft CMS 5.0.0-RC1 before 5.10.12 Behavior Injection RCE

Published Sep 8, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
Craft CMS versions before 5.10.12 fail to properly cleanse string-typed field-layout elements, allowing authenticated control-panel users to inject Yii2 behavior attachments and event handlers. Attackers can post field-layout tab elements as JSON strings to bypass cleanse validation, then trigger arbitrary object instantiation and code execution through Craft::createObject().

Analysis

AI-generated

Technical impact

Craft CMS versions before 5.10.12 allow authenticated control‑panel users to inject Yii2 behaviour attachments and event handlers by posting field‑layout tab elements as JSON strings, bypassing the platform’s cleanse validation. The attacker can then trigger arbitrary PHP object instantiation via Craft::createObject(), leading to remote code execution on the web server.

Affected Systems

The vulnerable product is Craft CMS, produced by craftcms. Versions earlier than 5.10.12 are affected and are identified by the CPE string cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*.

Risk and Exploitability

The CVSS score of 8.7 highlights a high severity vulnerability. EPSS information is not available, and the flaw is not listed in the CISA KEV catalogue. Exploitation requires an authenticated control‑panel account with the ability to edit field layouts; the attacker then injects malicious JSON, causing Craft to instantiate arbitrary objects and execute malicious code. The overall risk is moderate to high, especially in environments where control‑panel access is widely distributed.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Craft CMS to version 5.10.12 or newer.
  • Limit control‑panel user privileges to the minimum required; disable field‑layout editing for untrusted accounts.
  • Review current field‑layout configurations and remove any suspicious or malformed JSON elements to eliminate residual malicious behaviors.

Generated by OpenCVE AI on September 8, 2026 at 16:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Craftcms cms
Vendors & Products Craftcms cms
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Craft CMS versions before 5.10.12 fail to properly cleanse string-typed field-layout elements, allowing authenticated control-panel users to inject Yii2 behavior attachments and event handlers. Attackers can post field-layout tab elements as JSON strings to bypass cleanse validation, then trigger arbitrary object instantiation and code execution through Craft::createObject().
Title Craft CMS 5.0.0-RC1 before 5.10.12 Behavior Injection RCE
First Time appeared Craftcms
Craftcms craft Cms
Weaknesses CWE-94
CPEs cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*
Vendors & Products Craftcms
Craftcms craft Cms
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 8, 2026, 3:36 PM
Reserved
Sep 8, 2026, 11:31 AM
Status
Deferred
Published
Sep 8, 2026, 4:18 PM
Modified
Sep 8, 2026, 7:53 PM