Silverstripe workflow email templates can execute code after a CMS user edit
Workflow tools are designed to let authorized staff automate notifications and approvals. CVE-2026-88990 shows why that convenience can cross a code-execution boundary when a user-editable field is rendered as a template. A CMS user with permission to edit workflow definitions can place executable template code in the "Notify Users" email template.
The vulnerability affects symbiote/silverstripe-advancedworkflow before 6.4.6 and releases in the 7.x line before 7.2.4. The fixed versions are 6.4.6 and 7.2.4. The advisory rates the issue 7.2 with high confidentiality, integrity and availability impact, while requiring high privileges.
Mechanism
When an advanced workflow runs, its notification action sends an email based on the configured template. The vulnerable implementation renders that field as a template. If the template language can reach application objects and callable methods, the editor can turn a notification setting into server-side execution.
The attack requires a CMS account that can modify a workflow definition. That is not an anonymous route into the application, but it is a meaningful privilege boundary. Content editors, integration administrators and temporary contractors may receive workflow privileges without being trusted to run code on the host. An account operating from a compromised browser session could also change the field and wait for the workflow to execute.
Impact
Executed template code runs with the permissions of the PHP application. It can read files, access environment variables, interact with databases and modify application state. The attacker may use the initial execution to inspect configuration, write a persistent component or reach services available from the web server.
The advisory does not claim exploitation in the wild. The known evidence is the code path and its required permission. That is enough for a priority review when the plugin is installed and multiple people can edit workflows.
Remediation and review
Upgrade to 6.4.6, 7.2.4 or a later fixed release. After patching, test a workflow notification with ordinary text and confirm that template-like input is treated as data. Review workflow definitions for unexpected expressions, object references or callable syntax. Since the field is stored in the CMS database, search historical revisions and database backups for prior edits if the application records them.
Limit workflow-definition changes to a small administrative group. Separate the ability to design a workflow from the ability to publish production changes. Require review and version control for templates, and remove unused notification actions. Rotate secrets that were readable by the web application if an unauthorized definition change is found.
Add audit evidence around the workflow action: who changed the template, when it ran and whether mail delivery succeeded. A mail failure does not prove that template execution failed. The application should log the workflow and template identity separately from the delivery result.
Top comments (0)