CVE-2026-63030: WordPress REST API Batch Route Confusion (wp2shell chain)
- Vendor
- Wordpress
CVE-2026-63030 is a REST API batch-processing route-confusion vulnerability in WordPress Core 6.9.0–6.9.4 and 7.0.0–7.0.1. Malformed batch subrequests cause request, validation-result, and handler-tracking arrays to become misaligned. During execution, a request can consequently be processed using another subrequest's route and handler, bypassing intended route-specific schema validation, sanitization, and batch restrictions. Handler permission callbacks still execute, so the flaw is not a universal authentication bypass. Chaining it with CVE-2026-60137 allows unexpected scalar input to reach the WP_Query author__not_in argument and unsafe SQL construction. Together, these vulnerabilities form wp2shell, enabling unauthenticated SQL injection and, under applicable conditions, remote code execution.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
The combined wp2shell chain can expose database contents, including account identifiers and password hashes, and enable unauthorized administrator creation, malicious plugin deployment, and operating-system command execution. Code executes with the privileges of the PHP worker or affected service account, not inherently as root. Consequences include sensitive-data theft, website modification or deletion, persistent webshell access, and reuse of compromised infrastructure. Route confusion alone should not be equated with unrestricted code execution or universal access to authenticated handlers.
Mitigation
If you can’t patch tonight, do this now.
Until updating is possible, block anonymous access to both /wp-json/batch/v1 and the ?rest_route=/batch/v1 route form through a WAF or equivalent access control. Enable applicable managed WAF protections and ensure origin servers cannot bypass them. Disabling plugin installation or setting DISALLOW_FILE_MODS, restricting filesystem writes, and preventing direct PHP execution in plugin storage can interrupt the demonstrated authenticated plugin-upload execution path, but do not repair SQL injection or guarantee protection against every chain. Apply least privilege to PHP and database accounts and segment internet-facing systems.
Remediation
Patch, then assume compromise.
Upgrade affected WordPress 6.9 installations to 6.9.5 or later and affected 7.0 installations to 7.0.2 or later, preferably using the latest supported release. The fixes restore batch-array alignment, prevent nested top-level REST serving during active dispatch, and normalize author__not_in values at the SQL construction boundary. WordPress 6.8.6 addresses the related SQL-injection exposure on the 6.8 branch, which is not affected by the full route-confusion chain. Verify update completion rather than relying solely on automatic updates. Investigate potentially compromised installations, preserve evidence, remove unauthorized accounts and persistence, reset user passwords, and rotate exposed secrets; patching does not remove an existing compromise.
Exploits
69 exploits validated by Mallory's analysis. Hidden: 37 rejected by Mallory's analysis as not a working exploit; 3 not yet analyzed, such as Exploit-DB entries. Showing the 25 most capable, earliest first.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-63030 exploited in the wild?
- Yes. As of Dec 5, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Jul 21, 2026.
- Is there a public exploit for CVE-2026-63030?
- Yes. Mallory tracks 69 public exploits or proofs of concept for CVE-2026-63030, the earliest disclosed Jul 17, 2026.
- Is there a patch for CVE-2026-63030?
- Upgrade affected WordPress 6.9 installations to 6.9.5 or later and affected 7.0 installations to 7.0.2 or later, preferably using the latest supported release. The fixes restore batch-array alignment, prevent nested top-level REST serving during active dispatch, and normalize author__not_in values at the SQL construction boundary.
- What products are affected by CVE-2026-63030?
- Wordpress.
- How severe is CVE-2026-63030?
- CVE-2026-63030 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 96.3% (100th percentile) as of Dec 5, 2026.
Recent activity
533 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.