๐Ÿ” CVE Alert

CVE-2026-72778

HIGH 8.8

Craft CMS 5.0.0-RC1 before 5.10.6 Authenticated RCE via condition.config

CVSS Score
8.8
EPSS Score
0.0%
EPSS Percentile
0th

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. Craft cleanses the outer request-controlled condition array via Component::cleanseConfig(), but Conditions::createCondition() later decodes and merges the JSON string in condition.config without re-running cleanseConfig() on the decoded configuration. Because condition.config is a JSON string during the first cleanse, Yii special config keys such as 'as ...' and 'on ...' can be hidden inside it and, after JSON decoding, are interpreted by Yii as behavior/event configuration during FieldLayout object creation. 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.

CWE CWE-915
Vendor craftcms
Product cms
Published Aug 11, 2026
Stay Ahead of the Next One

Get instant alerts for craftcms cms

Be the first to know when new high vulnerabilities affecting craftcms cms are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

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

Affected Versions

craftcms / cms
5.0.0-RC1 < 5.10.6
craftcms / cms
4.0.0-RC1 < 4.18.2

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/craftcms/cms/security/advisories/GHSA-265m-7826-wjqm vulncheck.com: https://www.vulncheck.com/advisories/craft-cms-rc1-before-authenticated-rce-via-condition-config

Credits

saladin0x1