# CVE-2026-72778: Craft CMS 5.0.0-RC1 before 5.10.6 Authenticated RCE via condition.config

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-08-06T20:45:00.000Z
- Modified: 2026-10-24T15:10:00.190Z
- Also known as: GHSA-265m-7826-wjqm
- Weaknesses: CWE-915
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- craftcms cms: from 5.0.0-RC1 before 5.10.6; from 4.0.0-RC1 before 4.18.2 (not affected: 5.10.6; 4.18.2)
- craftcms/cms (Packagist): from 5.0.0-RC1 before 5.10.6; from 4.0.0-RC1 before 4.18.2

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/craftcms/cms/security/advisories/GHSA-265m-7826-wjqm> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/craft-cms-rc1-before-authenticated-rce-via-condition-config> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-72778> (advisory)
- <https://github.com/craftcms/cms/commit/353b5d676c88a854c9f6409ad83b837ca0c0e8da> (web)
- <https://github.com/craftcms/cms/commit/789789dc9e2a4e2f2562f51aaf879fb7757d8340> (web)
- <https://github.com/craftcms/cms> (package)
- <https://github.com/craftcms/cms/releases/tag/4.18.2> (web)
- <https://github.com/craftcms/cms/releases/tag/5.10.6> (web)

## Sources

- CVE List: [CVE-2026-72778](https://www.cve.org/CVERecord?id=CVE-2026-72778), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-265m-7826-wjqm](https://github.com/advisories/GHSA-265m-7826-wjqm), CC-BY-4.0, modified 2026-09-01
- NVD: [CVE-2026-72778](https://nvd.nist.gov/vuln/detail/CVE-2026-72778), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-72778 · Whole record: https://cve.day/CVE-2026-72778.json · Rebuilt by cve.day 2026-11-25T22:59:32.249Z
