CVE-2026-72778
Last modified
CVE-2026-72778 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| craftcms | cms | >= 5.0.0-RC1, < 5.10.6 |
| craftcms | cms | >= 4.0.0-RC1, < 4.18.2 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-72778?
How severe is CVE-2026-72778?
How do I fix CVE-2026-72778?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-72770n8n versions before 1.123.67 contain a path traversal vulner…7.1
- CVE-2026-72771n8n versions before 2.32.1 fail to enforce the Allowed HTTP …7.1
- CVE-2026-72772n8n before 2.32.1 (and before 2.31.5) is vulnerable to accou…8.9
- CVE-2026-72773n8n before 2.31.5 and 2.32.x before 2.32.1 contain a path-co…4.9
- CVE-2026-72774n8n before 1.123.67, 2.31.5, and 2.32.1 contains a credentia…7.1
- CVE-2026-72775n8n before 1.123.67, 2.31.5, and 2.32.1 contains a SQL injec…5.8
- CVE-2026-72779Craft CMS 5.0.0-RC1 before 5.10.6 and 4.0.0-RC1 before 4.18.…8.7
- CVE-2026-72780Craft CMS before 5.10.5 fails to persist updated credential …7.1
- CVE-2026-72781Craft CMS versions >= 5.0.0-RC1 before 5.10.7 and >= 4.0.0-R…8.8
- CVE-2026-72782Craft CMS versions >= 5.0.0-RC1 before 5.10.6 and >= 4.0.0-R…7.1
- CVE-2026-72783Craft CMS versions >= 5.0.0-RC1 before 5.10.6 and >= 4.0.0-R…6.2
- CVE-2026-72784Craft CMS versions >= 5.0.0-RC1 before 5.10.6 and >= 4.0.0-R…6.9
Are you affected by CVE-2026-72778?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
