Skip to content
RCE Write-up Advanced

Exploitation in the Wild of wp2shell

A critical pre-authentication remote code execution chain in WordPress Core, tracked as CVE-2026-63030 and CVE-2026-60137, allows unauthenticated attackers to execute code on default installations. Attackers exploited it in the wild to upload malicious plugins, enumerate users, attempt local file inclusion, and deploy PHP webshells.

Shahar Dorfman Follow

Published on wiz.io

These vulnerabilities comprise a critical pre-authentication remote code execution (RCE) chain in WordPress Core, dubbed "wp2shell", discovered by Searchlight Cyber using OpenAI GPT 5.6 Sol, and published on July 17th, 2026. This exploit chain allows unauthenticated attackers to gain remote code execution on default…

Shahar Dorfman, on wiz.io

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a flaw in how the WordPress REST API batch processing endpoints handle requests, allowing unauthenticated code execution.

Impact

Attackers could achieve remote code execution, upload persistent backdoors, harvest admin credentials, and attempt to read sensitive configuration files; however, the text notes that no lateral movement or data exfiltration has been identified yet.

What the attacker needed

WordPress Core versions 6.9.0–6.9.4 or 7.0.0–7.0.1; Internet-exposed WordPress instance; No authentication required

The fix

WordPress was fixed in version 7.0.2; as a temporary mitigation, restrict anonymous access to the Batch API endpoint or disable anonymous REST API access.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

WordPress is a popular website-building tool. A bug in its core code let anyone run their own commands on a server without logging in, which is like giving a stranger the keys to the house. Attackers used this to install hidden backdoors called webshells, which let them keep control even after the bug is fixed.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Shahar Dorfman

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.