CVE-2026-72778
published high CVSS 4.0 · 8.7Craft CMS 5.0.0-RC1 before 5.10.6 Authenticated RCE via condition.config
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| craftcms | — | cms5.0.0-RC1 to < 5.10.6 (affected · semver) · 5.10.6 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| craftcms | — | cms4.0.0-RC1 to < 4.18.2 (affected · semver) · 4.18.2 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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. 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| craftcms | cms | 5.0.0-RC1 to < 5.10.6 (affected · semver)5.10.6 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| craftcms | cms | 4.0.0-RC1 to < 4.18.2 (affected · semver)4.18.2 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes
References
2- GitHub Security Advisory (GHSA-265m-7826-wjqm) https://github.com/craftcms/cms/security/advisories/GHSA-265m-7826-wjqm
- VulnCheck Advisory: Craft CMS 5.0.0-RC1 before 5.10.6 Authenticated RCE via condition.config https://www.vulncheck.com/advisories/craft-cms-rc1-before-authenticated-rce-via-condition-config
Provider assertions
2VulnCheck · cna
Craft CMS 5.0.0-RC1 before 5.10.6 Authenticated RCE via condition.config
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7f8845bbd7fdd4b4f9cb810e1e8a7f6265463a57e6a9394e13048738d8b0e34d
- Ingested
- 09 Oct 2026, 16:37:07 UTC
- Source record
- Official CVE record