WP2Shell

Also tracked as: wp2shell

Disclosed Jul 17, 2026

Updated Dec 1, 2026

*2ShellCVSS 9.8CISA KEVPre-Auth RCE

An unauthenticated remote code execution chain in WordPress Core combining REST /batch/v1 route confusion (CVE-2026-63030) with SQL injection in WP_Query (CVE-2026-60137), affecting default installations with zero plugins installed.

Component

WordPress Core REST API & WP_Query

Attack Vector & Class

Pre-Auth RCE

Exploit Chain

Exploitation Status

Listed in CISA KEV

KEV added Jul 21, 2026

CVSS & Ecosystems

9.8 (v3.1)

WordPress, PHP

Affected Versions

  • WordPress Core 6.9.0 through 6.9.4
  • WordPress Core 7.0.0 through 7.0.1

Fixed / Recommended Versions

  • WordPress 7.1.5+ (or latest branch security backport)

Technical Root Cause

WP2Shell chains a route-handling confusion flaw in WordPress Core's REST /batch/v1 endpoint (CVE-2026-63030) to reach an unauthenticated SQL injection in WP_Query (CVE-2026-60137). Attackers leveraged the SQL injection to forge administrator sessions or manipulate site options to achieve full remote code execution. Working PoCs surfaced within hours and internet-wide exploitation began within days.

Remediation & Hardening

  1. 1Update WordPress Core immediately to 7.1.5 or the latest patched release on your maintained branch.
  2. 2Audit WordPress administrator accounts, recently modified plugins/themes, and wp-content uploads for signs of compromise.
  3. 3Apply WAF virtual patching rules blocking anomalous REST /batch/v1 payloads if patching is delayed.