Unsafe reflection in Craft CMS - CVE-2026-79987

 

Unsafe reflection in Craft CMS - CVE-2026-79987

Published: November 6, 2026 / Updated: November 6, 2026


Vulnerability identifier: #VU159583
CSH Severity: Medium
CVSS v4: 8.7 [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]
CVE-ID: CVE-2026-79987
CWE-ID: CWE-470
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote authenticated non-admin Control Panel user to execute arbitrary operating system commands with the Craft CMS PHP worker’s privileges.

The vulnerability exists due to insufficient validation of request-controlled criteria.with[*].when callbacks during element-search eager loading. A remote authenticated non-admin Control Panel user with only accessCp permission can select system as the callback and place a command in their own fullName to trigger execution without victim interaction.


Affected software

Craft CMS

How to mitigate CVE-2026-79987

Install security update from vendor's website.

Craft CMS - update to 5.10.13

External References

Related Security Bulletins