CVE-2026-88990 — Symbiote/silverstripe-advancedworkflow — CWE-1336
### Impact The email template of an advanced workflow "Notify Users" action was rendered as a template when the action ran. A CMS user who can edit workflow definitions could use template code in this field to run code on the server. ### Patches This vulnerability has no commit of its own to resolve it. Instead, the fix for [SS-2026-002](https://www.silverstripe.org/download/security-releases/ss-2026-002) also fixes it. ### Reported by Jack Wallace from Bastion Security
### Impact The email template of an advanced workflow "Notify Users" action was rendered as a template when the action ran. A CMS user who can edit workflow definitions could use template code in this field to run code on the server. ### Patches This vulnerability has no commit of its own to resolve it. Instead, the fix for [SS-2026-002](https://www.silverstripe.org/download/security-releases/ss-2026-002) also fixes it. ### Reported by Jack Wallace from Bastion Security
🎯 What is this vulnerability?
This vulnerability is a Server-Side Template Injection (SSTI) leading to Remote Code Execution (RCE).
Technical Flaw Analysis:
The core issue lies in the symbiote/silverstripe-advancedworkflow module. Specifically, when a workflow action of type "Notify Users" is executed, the system retrieves the email template content defined in the workflow configuration. The flaw is that this content is passed directly to the SilverStripe template engine (likely ViewData or SSViewer) for rendering without sanitization or escaping.
- CWE-1336 (Improper Neutralization of Special Elements Used in a Template Engine): The application fails to distinguish between trusted template logic and untrusted user data.
- Authentication Context: The CVSS vector
PR:H(Privileges Required: High) indicates that the attacker must already possess high-level privileges, specifically the ability to edit workflow definitions. In SilverStripe, this typically requires a user with theADMINrole or specific permissions to manageWorkflowobjects. - Mechanism: Because the template engine executes code (PHP) embedded in the template syntax (e.g.,
<% control %>,<% if %>, or direct PHP execution ifSSVieweris configured to allow it, or via SilverStripe's specific template variable resolution), an attacker can inject malicious PHP code or SilverStripe template directives that execute arbitrary server-side logic when the workflow step is triggered. - Fingerprinting: Identify the target as running SilverStripe CMS. Check for the presence of the
symbiote/silverstripe-advancedworkflowmodule.
Method:* Inspect - Access Acquisition: The attacker must already have valid credentials for a user with High Privileges (e.g., Administrator or Workflow Manager). This is a prerequisite, not part of the initial unauthenticated attack.
- Step 1: Create/Modify Workflow: The attacker logs into the SilverStripe Admin interface (
- Step 2: Inject Payload: In the "Notify Users" action step, the attacker modifies the Email Template field. Instead of plain text, they inject a payload that leverages the SilverStripe template engine to execute PHP. Note on SilverStripe SSTI:* SilverStripe templates use
⚡ Attack Chain
1. Discovery & Reconnaissance
composer.json (if exposed), check for specific asset paths (e.g., /assets/symbiote/silverstripe-advancedworkflow/), or analyze HTTP headers/response bodies for SilverStripe-specific tokens.
Version Check:* Determine the version of symbiote/silverstripe-advancedworkflow to confirm it is prior to the fix included in SS-2026-002.
2. Exploitation
/admin). They navigate to the Workflow module and create a new workflow or edit an existing one.
<% ... %> syntax. While standard templates do not execute raw PHP, SSTI in SilverStripe often exploits the ability to call PHP functions or access global variables if the template engine is misconfigured or if the module uses a less secure rendering method. A common technique in SilverStripe SSTI is using the <% php %> tag (if enabled) or leveraging ViewData to call dangerous methods.
Illustrative Payload:*<% php %><%= system('id'); %><% /php %>Or, if raw PHP is not directly accessible, a more sophisticated payload might use SilverStripe's template variable resolution to invoke a dangerous class method, such as:
<% control $Security %><% php %><%= system('id'); %><% /php %><% /control %>(Note: The exact syntax depends on the specific version of SilverStripe and how the advancedworkflow module renders the template. The CVE description confirms "template code" can be used to "run code on the server," implying the template engine is vulnerable to code execution.)
3. Post-Exploitation
system('id') command (or similar) will appear in the email sent to the user, or in the server logs, or be exfiltrated via an outbound HTTP request.<?php system($_GET['cmd']); ?>mysqldump of the database to steal all user credentials and sensitive data.
* Modify the SilverStripe configuration to create a new admin account.
* Install a reverse shell for persistent access.
* Exfiltrate data via DNS or HTTP requests.🌍 Real World Impact
Practical Consequences:
🛡️ Remediation & Mitigation
1. Patching
symbiote/silverstripe-advancedworkflow to a version that includes the fix from SS-2026-002.composer update symbiote/silverstripe-advancedworkflow and ensure the version is at or above the patched release.
Note:* The CVE description states the fix is part of SS-2026-002. Check the SilverStripe security release notes for the exact version number.2. Workarounds (If Immediate Patching is Not Possible)
SecRule REQUEST_BODY|ARGS "@rx (?i)(<%.*php.*%>|<%.*system.*%>|<%.*exec.*%>)" \
"id:100001,phase:2,deny,status:403,msg:'SSTI Payload Detected in Workflow Definition'"Note:* This rule is a heuristic and may produce false positives. It should be tuned carefully.
3. Detection
/admin/workflow/...) containing template syntax (<% ... %>) or PHP code.system(), exec(), passthru(), or shell_exec().⚠️ Urgency
Although the vulnerability requires high-level privileges (PR:H), the impact is severe (RCE). If an attacker compromises an administrator account (via phishing, credential stuffing, or another vulnerability), they can immediately achieve full server compromise. Therefore, this should be patched as soon as possible, especially in environments where administrator accounts are at risk or where the workflow module is actively used.
Recommendation:
1. Immediately update symbiote/silverstripe-advancedworkflow to the latest patched version.
2. Audit all existing workflows for any suspicious template code.
3. Review access controls to ensure only necessary users have workflow editing permissions.
4. Monitor for signs of exploitation, especially if there have been recent compromises of administrator accounts.
[🤖 CVE Professor AI Security Engine]