Public research

Really Simple Security

CVE-2026-81766
Multisite subsite Administrator plugin installation

Medium, 6.6 · Public source snapshot: November 12, 2026

Original portfolio report · Source reference · Public advisory · CVE record

Shared credits and the scope of my investigation are documented below.

On a WordPress Multisite network, Mallory is an Administrator of one subsite, not a Network Administrator or super administrator. If the Network Administrator has enabled the Plugins administration menu for subsites—a nondefault setting—Mallory can use her own authenticated session and a legitimate Really Simple Security upgrade nonce to submit an attacker-controlled plugin archive URL to the rsp_upgrade_install_plugin AJAX action. In Really Simple Security 9.7.0, the handler passes that URL to WordPress's plugin installer without checking install_plugins, allowing files from the archive to be written into the network-shared plugins directory. This is an authorization failure in the plugin's upgrade workflow, not session theft, nonce forgery, or a flaw in WordPress's ordinary plugin-installation routes.

WPScan classifies the issue as CVE-2026-81766, CWE-269, with a Medium CVSS score of 6.6, and lists all versions before 9.8.0 as affected. I reviewed the official 9.7.0 and 9.8.0 release source directly and confirmed both the missing check in 9.7.0 and the shipped fix in 9.8.0. I did not execute the public proof of concept, and I did not inspect every earlier release, so 9.7.0 is the earliest affected version independently verified in this review rather than a claimed introduction point.

Field Public record and review result
Identifier CVE-2026-81766
Component Really Simple Security upgrade-to-Pro workflow
Weakness CWE-269 — Improper Privilege Management
Public severity Medium, CVSS 6.6
Coordinator-reported affected range Versions before 9.8.0
Source-confirmed affected release 9.7.0
Source-confirmed fixed release 9.8.0
Attacker Authenticated Administrator of one Multisite subsite; not a network super administrator
Required configuration Network Administrator has enabled the Plugins menu for subsites

WordPress Multisite separates management of one subsite from management of the network's shared executable code. A subsite Administrator may manage content and settings within that site, but installing a plugin requires the network-level install_plugins capability. Enabling the Plugins menu for subsites exposes a management screen; it should not grant the ability to install code into the shared plugin directory.

Really Simple Security 9.7.0 implements a separate plugin capability helper, rsssl_user_can_manage(), which accepts a user with manage_security. That is appropriate for the plugin's settings, but it is not equivalent to WordPress's install_plugins capability. The affected upgrade flow loads on plugins.php, localizes an upgrade_to_pro_nonce into the page, and registers process_ajax_install_plugin() as the authenticated handler for wp_ajax_rsp_upgrade_install_plugin in upgrade/upgrade-to-pro.php.

The relevant actors and values are:

  • Alice, the Network Administrator, controls whether subsite users can see the Plugins menu and retains authority to install network-shared plugins.
  • Mallory is an Administrator of one subsite and has a legitimate authenticated WordPress session plus the plugin's manage_security capability.
  • token is an anti-CSRF nonce tied to the upgrade action and Mallory's logged-in session. Passing that check does not grant the separate install_plugins capability.
  • download_link is the package location that 9.7.0 accepted directly from Mallory's request.

The expected behavior is for the server to reject the installation before it reaches WordPress's upgrader unless Mallory has install_plugins, regardless of whether she can open the Plugins screen or obtain a valid nonce.

The 9.7.0 constructor registers the AJAX entry point, and the page-localization code makes a valid nonce available when the upgrade flow is loaded from plugins.php. According to WPScan's public proof of concept, the nondefault Multisite menu setting lets a subsite Administrator reach that page and obtain the nonce using her own account.

In Really Simple Security 9.7.0, upgrade/upgrade-to-pro.php, process_ajax_install_plugin() checks only the plugin-specific management helper, nonce validity, and presence of a URL before invoking the installer:

if ( ! rsssl_user_can_manage() ) {
    return [ 'success' => false, 'message' => $message ];
}

if ( isset( $_GET['token'] )
    && wp_verify_nonce( $_GET['token'], 'upgrade_to_pro_nonce' )
    && isset( $_GET['download_link'] ) ) {
    $download_link = esc_url_raw( $_GET['download_link'] );
    $upgrader = new Plugin_Upgrader( new WP_Ajax_Upgrader_Skin() );
    $result = $upgrader->install( $download_link );
}

This sequence carries Mallory's download_link from the authenticated request to Plugin_Upgrader::install(). esc_url_raw() normalizes a URL, but it neither establishes that the package came from the vendor nor authorizes Mallory to install plugins. The decisive missing check is current_user_can( 'install_plugins' ) before the upgrader sink.

WPScan's now-public reproduction includes useful controls. The same subsite account is rejected by WordPress's normal plugin installer, editor, and REST plugin-installation route. A request to the Really Simple Security action with an invalid nonce installs nothing, while a request using Mallory's valid nonce and a controlled package URL returns success. The published test then requests a harmless file from the installed package without authentication, showing that the archive was written to the network-shared plugins directory and that its PHP could execute. Those are WPScan's reported runtime results; this review independently confirmed the supporting source path but did not rerun the test.

The public coordinator record lists versions before 9.8.0 as affected. Direct comparison of the official 9.7.0 and 9.8.0 archives confirms the vulnerable and fixed endpoints, but it does not establish which earlier release first introduced this workflow.

The narrow primitive is an authenticated subsite Administrator installing a caller-selected ZIP archive into a directory shared by the entire Multisite network. This crosses Alice's network-administration boundary even though Mallory remains logged in only as herself. The installation does not need the archive to be activated as a conventional WordPress plugin if an included PHP file can be requested directly and executes without an application bootstrap guard, which is the behavior reported by the public PoC.

Successful exploitation depends on all of the following:

  • WordPress is configured as Multisite.
  • Really Simple Security earlier than 9.8.0 is active on the subsite.
  • Alice has enabled the Plugins administration menu for subsites; WordPress leaves this disabled by default.
  • Mallory is an Administrator of a subsite and can load the affected upgrade screen to receive a valid nonce.
  • The WordPress installation can fetch and write plugin packages using its configured filesystem method.

These prerequisites materially narrow exposure, but they do not restore the missing authorization boundary. A nonce prevents a third party from blindly forging Mallory's request; it does not answer whether Mallory is allowed to install network-shared code. The source supports arbitrary package selection and installation under these conditions. It does not by itself establish persistence against later cleanup, access outside the web-server process's permissions, or compromise of a separate host.

WPScan has published a complete proof of concept on the advisory page. To avoid turning this report into a ready-to-use deployment payload, the safe validation outline below uses a disposable local Multisite instance and a benign plugin archive whose only PHP behavior is to return a fixed diagnostic string.

  1. Create an isolated WordPress Multisite test network with no production data. Install and activate Really Simple Security 9.7.0 on one subsite.
  2. As Alice, the Network Administrator, enable the Plugins administration menu for subsites. Create mallory as an Administrator of only that subsite and verify that mallory is not a network super administrator.
  3. As mallory, confirm that WordPress's standard plugin-installation page and REST installation route reject the account. This is the negative control proving that WordPress itself preserves the network boundary.
  4. Load the Really Simple Security upgrade flow from the subsite Plugins screen and record the upgrade_to_pro_nonce issued to mallory's own session.
  5. Submit the rsp_upgrade_install_plugin AJAX action first with an invalid token and a local URL for the benign ZIP. The expected 9.7.0 result is no installation.
  6. Repeat with the valid token and the same local package URL in download_link. According to WPScan's published run, 9.7.0 reports success and installs the package in the network-shared plugin directory.
  7. Repeat the valid-token request after upgrading the test site to 9.8.0. The expected fixed behavior is a JSON error because mallory lacks install_plugins; the supplied URL should also no longer control the selected package.

This outline was not executed during this source review, so the listed outcomes are expected from the inspected source and identified separately where WPScan reported an observed result. Keep the test network offline or access-controlled, use a package with no command execution or external communications, remove the test package afterward, restore the Plugins menu setting, and destroy the disposable environment.

Upgrade Really Simple Security to 9.8.0 or later. If an immediate upgrade is impossible, disable the Plugins administration menu for subsites and prevent untrusted subsite Administrators from accessing the affected workflow until the update is deployed. The menu change removes a required reachability condition but is not a substitute for the server-side fix.

Really Simple Security 9.8.0 updates process_ajax_install_plugin() in upgrade/upgrade-to-pro.php to enforce the correct WordPress capability before processing the nonce:

if ( ! rsssl_user_can_manage() || ! current_user_can( 'install_plugins' ) ) {
    wp_send_json_error(
        esc_html__( 'Insufficient permissions to install plugins.', 'really-simple-ssl' )
    );
}

The fixed handler also stops accepting download_link from the request. It calls the license API server-side, requires a nonempty string URL from that response, sanitizes it, and only then passes it to Plugin_Upgrader::install(). Together, these changes enforce both necessary properties: the caller must be allowed to install plugins, and the installed package is selected by the trusted upgrade workflow rather than by an arbitrary request parameter.

Regression coverage should exercise the real AJAX action with:

  • a subsite Administrator who has manage_security but lacks install_plugins, expecting rejection even with a valid nonce;
  • a Network Administrator with both capabilities and a valid nonce, expecting the normal vendor-selected upgrade to proceed;
  • invalid and missing nonces for an otherwise authorized user, expecting rejection;
  • a valid request containing a forged download_link, verifying that the caller's value is ignored; and
  • both default Multisite menu settings and the nondefault subsite Plugins menu configuration.

CVE-2026-81766 is an improper privilege-management flaw in Really Simple Security's authenticated upgrade workflow. On a Multisite network where the Network Administrator has enabled the Plugins menu for subsites, a subsite Administrator can obtain a legitimate plugin nonce and, in releases before 9.8.0, supply a package URL that reaches WordPress's installer without an install_plugins check. The public PoC reports that this writes attacker-selected PHP into the network-shared plugin directory; source review of 9.7.0 confirms the missing authorization check and user-controlled URL, while 9.8.0 adds the capability gate and retrieves the package URL server-side.

WPScan credits me as the original researcher and submitter.

Public references

Test only systems you own or are explicitly authorized to assess.