CVE-2026-78416 Authenticated RCE via `condition.config` JSON cleanse bypass
Authenticated attackers can execute arbitrary code via a JSON cleanse bypass in Craft CMS element-search conditions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-78416?
CVE-2026-78416 is a high-severity code injection vulnerability in craftcms cms, published on 24 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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 control panel element-search condition handling. A JSON cleanse bypass in condition.config allows Yii behavior/event configuration keys to be interpreted after decoding, enabling command execution as the PHP/web user.
Weakness: CWE-915
Which versions are affected by CVE-2026-78416?
How do I fix CVE-2026-78416?
No fix has been published for CVE-2026-78416 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-78416 being exploited?
There is no known exploitation of CVE-2026-78416 in the wild and no public exploit code.
Sources
Also known as GHSA-4ghj-75g5-h9pf.