Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

 

Critical Silverstripe CMS security patches now available

We've released security patches for Silverstripe CMS to address two critical security vulnerabilities.

Steve Boyd

by Bernie Hamlin and Steve Boyd

Posted 24 November 2026

Read post

We've released security patches for Silverstripe CMS to address two critical security vulnerabilities. These vulnerabilities were reported to us following the documented process for reporting security issues.

Both vulnerabilities have a severity rating of 'critical'. See the release process documentation for more information about severity ratings. They are patched in the fully supported versions of Silverstripe CMS 5.4 and 6.x.

Additionally we have created patches for unsupported minor versions back to version 4.13. These patches are provided on best-effort basis and we recommend users upgrade to a supported version to ensure ongoing support and security fixes. This does not reflect a change in the existing support lifecycle.

Critical severity

SS-2026-008 - Unauthenticated RCE via form submissions

The silverstripe/framework module contains a flaw in how form submissions are dispatched that can allow an unauthenticated visitor to run arbitrary code on the server. A crafted, anonymous submission to a standard form, such as the CMS login form, can allow a template to be loaded from an attacker-controlled location and executed as the web server user. A stock installation is affected, and exploitation relies only on the default PHP setting allow_url_fopen.

This is patched in silverstripe/framework 4.13, 5.x and 6.x, and in silverstripe/template-engine 1.x for Silverstripe CMS 6.x. The fix prevents form submissions from invoking handling that has not been explicitly made available, and rejects template paths that use remote stream wrappers.

Read the SS-2026-008 security advisory.

SS-2026-009 - Login bypass for accounts without a password

The silverstripe/framework module contains a flaw in how form submissions are handled that can allow an unauthenticated visitor to sign in as an existing member account. A site is affected when a member account exists that was created without a locally set password. The most common case is the default administrator created from the SS_DEFAULT_ADMIN_USERNAME and SS_DEFAULT_ADMIN_PASSWORD environment variables, but it also includes accounts provisioned by single sign-on modules such as silverstripe/saml and silverstripe/ldap, and any member created programmatically without a password. Where the affected account is an administrator, successful exploitation grants full access to the CMS administration area.

This is patched in silverstripe/framework 4.13, 5.x and 6.x. The fix ensures that an account stored without a password can no longer be signed into with an empty password. Note that setting a strong SS_DEFAULT_ADMIN_PASSWORD does not mitigate this on its own, and unsetting SS_DEFAULT_ADMIN_* does not remove an affected account that a build has already created. 

Read the SS-2026-009 security advisory.

Patched versions

The fixes are included in the following releases (`silverstripe/framework` unless marked):

  • 6.3.10
  • 6.2.15
  • 6.1.17
  • 6.0.17
  • 5.4.31
  • 5.3.24
  • 5.2.23
  • 5.1.24
  • 5.0.24
  • 4.13.45
  • silverstripe/template-engine 1.0.3

Changes required for SS-2026-008 fix

The SS-2026-008 fix changes how form submissions are dispatched. A form handler now runs only when it is a registered action. A public method on a Form reached through an action_<name> field that is not a registered action is rejected with a 403.

Most sites need no changes. Actions triggered by a FormAction button, and handlers defined on a controller or a FormRequestHandler with an allowed_actions entry, keep working as before.

You need to act if you have a custom form action that invokes a method on a Form without a matching FormAction or allowed_actions entry - for example, an action called from JavaScript rather than a button. After upgrading, that request returns a 403. Register the action to restore it.

If the action has a button, make sure a FormAction with the same name is in the form's actions. That registers it:

$actions = FieldList::create(
FormAction::create('doSubmit', 'Send')
);

If the action has no button (for example, an AJAX call), move the handler onto a FormRequestHandler and list it in allowed_actions:

use SilverStripe\Control\HTTPRequest;
use SilverStripe\Control\HTTPResponse;
use SilverStripe\Forms\Form;
use SilverStripe\Forms\FormRequestHandler;
class MyFormHandler extends FormRequestHandler
{
    private static $allowed_actions = [
        'doSubmit',
    ];
    public function doSubmit(array $data, Form $form, HTTPRequest $request): HTTPResponse
    {
        // ... handle the submission ...
        return $this->redirectBack();
    }
}
class MyForm extends Form
{
    protected function buildRequestHandler(): FormRequestHandler
    {
        return MyFormHandler::create($this);
    }
}

allowed_actions is not valid on a Form subclass itself; define it on the controller or a FormRequestHandler subclass.

Interim mitigations

Upgrading to a patched release is the fix. If you cannot upgrade immediately, the steps below reduce exposure for each issue.

SS-2026-008 - Remote code execution

  • If your application does not require it, set allow_url_fopen = Off in php.ini. This blocks the remote-template vector.
  • Restrict /Security and /admin to trusted IP addresses, a VPN, or HTTP basic authentication at the web server. This reduces anonymous access only; the flaw affects every form, including those behind login, so it is not a complete control on its own.
  • Block the request at your WAF or reverse proxy, matching the decoded request case-insensitively: block any request whose path contains a httpSubmission segment followed by a forTemplate segment and, as a backstop, any request with a parameter name containing settemplate.

SS-2026-009 - Administrator account takeover

  • Restrict /Security and /admin to trusted IP addresses, a VPN, or HTTP basic authentication at the web server.
  • Audit your member records for accounts created without a locally set password - including the default administrator and any accounts provisioned by silverstripe/saml or silverstripe/ldap - and set a password on each, or remove it if it is unused.
  • If your site signs in only via SAML or SSO, remove MemberAuthenticator from Security.authenticators in your project configuration.
  • If you rely on Silverstripe's own basic authentication, note that it shares the affected path; use web server or network authentication instead until you have patched.
  • Block the request at your WAF or reverse proxy, matching the decoded request case-insensitively: on a POST to a path containing /LoginForm, block when a field name contains ?, or a field value contains a control byte (for example %00 in the password).

Setting a strong SS_DEFAULT_ADMIN_PASSWORD does not mitigate SS-2026-009, and unsetting SS_DEFAULT_ADMIN_* does not remove an account a build has already created.

Security patch release windows

Security patches are released outside the normal monthly release window. See the minor release policy for more information about how and when releases are made.

A note for sites on partially-supported release lines

Because both of these vulnerabilities are rated critical, they are patched on both fully-supported and partially-supported release lines. Additionally we have created patches for unsupported minor versions back to version 4.13. These patches are provided on best-effort basis and we recommend users upgrade to a supported version to ensure ongoing support and security fixes.

If you are on an older line, the durable fix is to upgrade to a fully-supported release line (currently Silverstripe CMS 6.x), which receives the full range of fixes and improvements.

About the author
Steve Boyd

Steve is a Principal Product Developer in the CMS Squad.