{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-54718",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-06-15T23:07:33.231Z",
        "datePublished": "2026-08-27T17:19:51.691Z",
        "dateUpdated": "2026-08-27T17:19:51.691Z"
    },
    "containers": {
        "cna": {
            "title": "Silverstripe Advanced Workflow: Remote code execution via advanced workflow email template",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-1336",
                            "lang": "en",
                            "description": "CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 7.2,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "HIGH",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/silverstripe/silverstripe-advancedworkflow/security/advisories/GHSA-39mm-rwm3-29jp",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/silverstripe/silverstripe-advancedworkflow/security/advisories/GHSA-39mm-rwm3-29jp"
                },
                {
                    "name": "https://github.com/silverstripe/silverstripe-advancedworkflow/pull/629",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/silverstripe/silverstripe-advancedworkflow/pull/629"
                },
                {
                    "name": "https://github.com/silverstripe/silverstripe-advancedworkflow/pull/630",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/silverstripe/silverstripe-advancedworkflow/pull/630"
                },
                {
                    "name": "https://github.com/silverstripe/silverstripe-advancedworkflow/commit/28d0b536491e5c68b1c445579bdd1ddc8beaf8bb",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/silverstripe/silverstripe-advancedworkflow/commit/28d0b536491e5c68b1c445579bdd1ddc8beaf8bb"
                },
                {
                    "name": "https://github.com/silverstripe/silverstripe-advancedworkflow/commit/f170766af992ed2ed3e5f21d127d0d0d3129678b",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/silverstripe/silverstripe-advancedworkflow/commit/f170766af992ed2ed3e5f21d127d0d0d3129678b"
                },
                {
                    "name": "https://github.com/silverstripe/silverstripe-advancedworkflow/releases/tag/6.4.5",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/silverstripe/silverstripe-advancedworkflow/releases/tag/6.4.5"
                },
                {
                    "name": "https://github.com/silverstripe/silverstripe-advancedworkflow/releases/tag/7.1.3",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/silverstripe/silverstripe-advancedworkflow/releases/tag/7.1.3"
                },
                {
                    "name": "https://github.com/silverstripe/silverstripe-advancedworkflow/releases/tag/7.2.1",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/silverstripe/silverstripe-advancedworkflow/releases/tag/7.2.1"
                },
                {
                    "name": "https://www.silverstripe.org/download/security-releases/cve-2026-54718",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://www.silverstripe.org/download/security-releases/cve-2026-54718"
                }
            ],
            "affected": [
                {
                    "vendor": "silverstripe",
                    "product": "silverstripe-advancedworkflow",
                    "versions": [
                        {
                            "version": "< 6.4.5",
                            "status": "affected"
                        },
                        {
                            "version": ">= 7.0.0, < 7.1.3",
                            "status": "affected"
                        },
                        {
                            "version": ">= 7.2.0, < 7.2.1",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-08-27T17:19:51.691Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Silverstripe Advanced Workflow is a highly configurable step-based workflow module. Prior to 6.4.5, 7.1.3, and 7.2.1, an attacker with permission to author the advanced workflow email template can place a specially crafted server-side template payload in NotifyUsersWorkflowAction.EmailTemplate. When NotifyUsersWorkflowAction renders the field through the Silverstripe template engine SSTemplateParser, the payload can cause PHP evaluation and arbitrary code execution on the server; the regression coverage is in tests/php/WorkflowEngineTest.php. This issue is fixed in versions 6.4.5, 7.1.3, and 7.2.1."
                }
            ],
            "source": {
                "advisory": "GHSA-39mm-rwm3-29jp",
                "discovery": "UNKNOWN"
            }
        }
    }
}