Improperly Controlled Modification of Dynamically-Determined Object Attributes in Craft CMS - #VU159594
Published: November 6, 2026
Vulnerability details
The vulnerability allows an authenticated control panel user to gain administrator privileges in Craft CMS and promote every other account.
The vulnerability exists due to unsanitized query configuration accepted by getOwners() when invoked through sandboxed Twig templates in the relational-condition object template feature. An authenticated control panel user can submit a crafted template and nested reference element to invoke a PHP callable that grants administrator status to all accounts, including their own.