CVE-2026-79987 Low-privilege RCE through element-search eager loading
Authenticated low-privilege users can execute arbitrary OS commands via element-search eager loading in Craft CMS.
- 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-79987?
CVE-2026-79987 is a high-severity code injection vulnerability in craftcms cms, published on 10 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A remote, authenticated, non-admin Craft CMS Control Panel user with only the accessCp permission can execute operating system commands as the PHP web worker.
Weakness: CWE-470
Which versions are affected by CVE-2026-79987?
How do I fix CVE-2026-79987?
No fix has been published for CVE-2026-79987 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-79987 being exploited?
There is no known exploitation of CVE-2026-79987 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as GHSA-9c4j-cjw3-r3xx, GHSA-fpmm-w3hp-7f39.