Craft CMS vulnerable to behavior injection RCE ElementIndexesController and FieldsController
Package
Affected versions
>= 4.0.0-RC1, <= 4.17.4
>= 5.0.0-RC1, <= 5.9.10
Patched versions
4.17.5
5.9.11
Description
Published to the GitHub Advisory Database
Mar 16, 2026
Reviewed
Mar 16, 2026
Published by the National Vulnerability Database
Mar 16, 2026
Last updated
Mar 16, 2026
The fix for GHSA-7jx7-3846-m7w7 (commit craftcms/cms@395c64f) only patched
src/services/Fields.php, but the same vulnerable pattern exists inElementIndexesControllerandFieldsController.You need Craft control panel administrator permissions, and allowAdminChanges must be enabled for this to work.
An attacker can use the same gadget chain from the original advisory to achieve RCE.
Users should update to Craft 4.17.5 and 5.9.11 to mitigate the issue.
References