{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "6.4.5"
              },
              {
                "introduced": "7.0.0"
              },
              {
                "fixed": "7.1.3"
              },
              {
                "introduced": "7.2.0"
              },
              {
                "fixed": "7.2.1"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "introduced": "c40d774ccec59872dc95fc2d95a4365db3afdc18"
            },
            {
              "introduced": "063cd839c6c0204eac743b2eefb78f1585eea766"
            },
            {
              "fixed": "f170766af992ed2ed3e5f21d127d0d0d3129678b"
            },
            {
              "fixed": "28d0b536491e5c68b1c445579bdd1ddc8beaf8bb"
            },
            {
              "fixed": "8c4570aa115d97e8175968bf39020efdee60effc"
            }
          ],
          "repo": "https://github.com/silverstripe/silverstripe-advancedworkflow",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-39mm-rwm3-29jp"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-1336"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54718.json"
  },
  "details": "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.",
  "id": "CVE-2026-54718",
  "modified": "2026-08-29T03:30:26.690038273Z",
  "published": "2026-08-27T17:19:51.691Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/silverstripe/silverstripe-advancedworkflow/releases/tag/6.4.5"
    },
    {
      "type": "WEB",
      "url": "https://github.com/silverstripe/silverstripe-advancedworkflow/releases/tag/7.1.3"
    },
    {
      "type": "WEB",
      "url": "https://github.com/silverstripe/silverstripe-advancedworkflow/releases/tag/7.2.1"
    },
    {
      "type": "WEB",
      "url": "https://www.silverstripe.org/download/security-releases/cve-2026-54718"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54718.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/silverstripe/silverstripe-advancedworkflow/security/advisories/GHSA-39mm-rwm3-29jp"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-54718"
    },
    {
      "type": "FIX",
      "url": "https://github.com/silverstripe/silverstripe-advancedworkflow/commit/28d0b536491e5c68b1c445579bdd1ddc8beaf8bb"
    },
    {
      "type": "FIX",
      "url": "https://github.com/silverstripe/silverstripe-advancedworkflow/commit/f170766af992ed2ed3e5f21d127d0d0d3129678b"
    },
    {
      "type": "FIX",
      "url": "https://github.com/silverstripe/silverstripe-advancedworkflow/pull/629"
    },
    {
      "type": "FIX",
      "url": "https://github.com/silverstripe/silverstripe-advancedworkflow/pull/630"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Silverstripe Advanced Workflow: Remote code execution via advanced workflow email template"
}