Skip to main content
VulnerabilityPublished Updated

craftcms/cms · Duplicate Advisory: Craft CMS: Authenticated RCE via `condition.config` JSON cleanse bypass

Affects craftcms/cmsSource GCVE Database

0

CVSS 8.8 High · fixed in 4.18.2 : patch craftcms/cms soon.

Data as of 7 Sep 2026, 18:37 UTC

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 4.18.2
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What to do

Affected software

ProductAffectedFixed in
Packagistcraftcms/cmsAffected
  • >=4.0.0-RC1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in Craft CMS versions 4.18.2 and later, and 5.10.6 and later. Users should upgrade to these versions or later to remediate this vulnerability. No other mitigation guidance is provided in the advisory.

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 the control panel element-search condition handling. The vulnerability arises because a JSON string in condition.config is not properly cleansed after decoding, allowing special Yii configuration keys to be interpreted and executed. An attacker with an authenticated control panel session and a valid CSRF token can exploit this to execute operating system commands as the PHP/web user.

References

Community reviews

Loading reviews…