CVE-2026-78416

Authenticated RCE via `condition.config` JSON cleanse bypass

Published Aug 24, 2026 CVSS 4.0 · 8.7 High EPSS 1.0% KEV · Not listed
Description
Craft CMS versions from 4.0.0-RC1 before 4.18.2 and from 5.0.0-RC1 before 5.10.6 contain an authenticated remote code execution vulnerability in control panel element-search condition handling. A JSON cleanse bypass in condition.config allows Yii behavior/event configuration keys to be interpreted after decoding, enabling command execution as the PHP/web user.

Analysis

AI-generated

Technical impact

Craft CMS versions from 4.0.0‑RC1 to 4.18.1 and from 5.0.0‑RC1 to 5.10.5 contain a flaw that lets an authenticated control‑panel user supply a crafted JSON payload in the condition.config field. The payload bypasses the CMS’s JSON cleansing process, allowing Yii behavior or event keys to be interpreted after decoding, which lets the attacker execute arbitrary system commands as the PHP/web user. The weakness is a form of configuration injection, classified as CWE‑915.

Affected Systems

Affected installations are Craft CMS applications released by craftcms, every release from 4.0.0‑RC1 up to 4.18.1 and from 5.0.0‑RC1 up to 5.10.5. The control‑panel element‑search feature in these versions is the attack surface.

Risk and Exploitability

The CVSS score of 8.7 marks this as a high‑severity vulnerability, and while the EPSS score is not available, the lack of KEV inclusion indicates no known active exploitation reported to date. The attack requires that the adversary already have authenticated access to the CMS control panel; after authentication, they can craft a malicious JSON payload to trigger command execution. Thus the risk is confined to attackers who can obtain valid user credentials or compromise an existing user account.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Craft CMS to version 5.10.6 or the 4.18.2 release to remove the insecure JSON handling.
  • Limit control‑panel access to trusted administrators and consider disabling the element‑search feature until a patch is applied.
  • Ensure that the PHP/web process runs with the least privileges necessary, restricting the impact of any potential command execution.

Generated by OpenCVE AI on August 24, 2026 at 19:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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 from 4.0.0-RC1 before 4.18.2 and from 5.0.0-RC1 before 5.10.6 contain an authenticated remote code execution vulnerability in control panel element-search condition handling. A JSON cleanse bypass in condition.config allows Yii behavior/event configuration keys to be interpreted after decoding, enabling command execution as the PHP/web user.
Title Authenticated RCE via `condition.config` JSON cleanse bypass
First Time appeared Craftcms
Craftcms cms
Weaknesses CWE-915
CPEs cpe:2.3:a:craftcms:cms:*:*:*:*:*:*:*:*
Vendors & Products Craftcms
Craftcms cms
References
Metrics 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-915

    Improperly Controlled Modification of Dynamically-Determined Object Attributes

Sources

Status
PUBLISHED
Assigner
Hackrate
Published
Updated
Aug 26, 2026, 8:59 PM
Reserved
Aug 24, 2026, 3:07 PM
Status
Deferred
Published
Aug 24, 2026, 4:17 PM
Modified
Oct 12, 2026, 3:10 PM