CVE-2026-63030: WP2Shell: WordPress Core REST API Batch Route Confusion
- Vendor
- Wordpress
CVE-2026-63030 is a route-confusion vulnerability in the WordPress Core REST API batch processor affecting versions 6.9.0–6.9.4 and 7.0.0–7.0.1. Malformed batch subrequest paths cause error entries to be added inconsistently to request-validation and route-handler tracking arrays. Subsequent execution can therefore associate a request with another subrequest's handler, bypassing intended route-specific validation, sanitization, and batch restrictions. Handler permission callbacks still execute, so the flaw is not a universal authentication bypass. In the WP2Shell exploit chain, it allows unexpected scalar input to reach the posts controller and trigger the separate WP_Query author__not_in SQL injection vulnerability, CVE-2026-60137. Together, the vulnerabilities can enable unauthenticated database access and, under suitable 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 vulnerability undermines REST API request-validation and dispatch boundaries. Chaining it with CVE-2026-60137 enables unauthenticated SQL injection and extraction of sensitive database information, including usernames and password hashes. End-to-end exploitation can establish administrator access, deploy malicious plugins or webshells, and execute commands with the PHP service account's operating-system privileges. Consequences include data theft, website modification or deletion, persistent application access, and reuse of the compromised server for further attacks. Root or host-administrator privileges are not inherently obtained.
Mitigation
If you can’t patch tonight, do this now.
Until updating is possible, block unauthenticated access to the REST batch endpoint through both /wp-json/batch/v1 and requests using rest_route=/batch/v1, or restrict anonymous REST API access more broadly where operationally acceptable. Managed WAF protections can filter known exploit requests, but all external traffic must traverse those controls. Restrict plugin installation and filesystem modifications, prevent direct PHP execution in plugin storage where feasible, and apply least privilege and network segmentation to reduce post-exploitation impact. These controls do not repair the underlying vulnerabilities.
Remediation
Patch, then assume compromise.
Upgrade WordPress Core to version 6.9.5 or later on the 6.9 branch, version 7.0.2 or later on the 7.0 branch, or a newer supported release, and verify successful installation. The fixes restore batch tracking-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 companion SQL injection on the 6.8 branch, which is not affected by the full route-confusion chain. For potentially compromised installations, preserve evidence, investigate unauthorized administrators and modified PHP files, remove malicious persistence, reset user passwords, and rotate exposed API keys. 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 Nov 27, 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 WordPress Core to version 6.9.5 or later on the 6.9 branch, version 7.0.2 or later on the 7.0 branch, or a newer supported release, and verify successful installation. The fixes restore batch tracking-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 10.6% (97th percentile) as of Nov 27, 2026.
Recent activity
526 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.