What to do2 steps
Update WordPress to 7.0.2, 6.9.5 or 6.8.6.
WordPress.org forced auto-updates for affected versions; 6.8 is only affected by the SQL injection, and versions before 6.8 are not affected.
Until patched, block the batch route at the edge.
The paths are
/wp-json/batch/v1and?rest_route=/batch/v1.
Labready to run
vt-2026-63030
WordPress Core - REST Batch Route Confusion to SQLi (wp2shell)
VT lab by HappyHackingSpace
Are you affected?only if all are true
- No preconditions per the finder: an anonymous request against a stock install with no plugins.
- The RCE chain needs WordPress 6.9 or later; 6.8 is affected only by the SQL injection.
- Per Fortbridge (not the finder): the re-entrancy path needs no persistent object cache (Redis or Memcached short-circuit it), and the final plugin upload needs a writable ABSPATH.
Check your version
- WP-CLI
wp core version - Without WP-CLI, from the WordPress root
grep '^\$wp_version' wp-includes/version.php - Prompt for your own agent, read-onlyAm I affected by wp2shell?
Read the prompt
Check whether the systems I am authorized to inspect are affected by wp2shell (CVE-2026-63030, CVE-2026-60137). Pre-auth WordPress core RCE: a REST batch-route confusion dispatches a sub-request to the wrong handler, a scalar author_exclude reaches SQL unescaped, and the resulting admin access ends in a plugin upload. It is exploitable under these conditions: - No preconditions per the finder: an anonymous request against a stock install with no plugins. - The RCE chain needs WordPress 6.9 or later; 6.8 is affected only by the SQL injection. - Per Fortbridge (not the finder): the re-entrancy path needs no persistent object cache (Redis or Memcached short-circuit it), and the final plugin upload needs a writable ABSPATH. Fixed releases: - WordPress: 6.8.6 (branch 6.8), 6.9.5 (branch 6.9), 7.0.2 (branch 7.0); before 6.8 is not affected 6.8 is affected only by the SQL injection (CVE-2026-60137). WordPress.org forced auto-updates for affected versions. Commands the catalog lists to find the version or the setting (read each one before you run it): - WP-CLI: wp core version - Without WP-CLI, from the WordPress root: grep '^\$wp_version' wp-includes/version.php What the catalog says to do on an affected system (report these, do not carry them out): 1. Update WordPress to 7.0.2, 6.9.5 or 6.8.6. 2. Until patched, block the batch route at the edge. For each host, container image or application, report affected, not affected, fixed or unknown, with the evidence, and list anything you could not access. Work read-only: do not change configuration, restart services or send exploit input. More: https://wordpress.2shell.wtf/wp2shell
Affected versions3 branches
| WordPress branch | Fixed in |
|---|---|
| 6.8 | 6.8.6 |
| 6.9 | 6.9.5 |
| 7.0 | 7.0.2 |
WordPress before 6.8 is not affected.
6.8 is affected only by the SQL injection (CVE-2026-60137). WordPress.org forced auto-updates for affected versions.
Proof of concept1 public PoC
For testing systems you own or are authorized to test. A PoC repository can be fake or carry malware: read it before you run it.
- Open the PoC
Public proof of concept on GitHub. The most-starred, Icex0/wp2shell-poc, runs the full pre-auth SQLi-to-RCE chain for CVE-2026-63030 and CVE-2026-60137.
Timeline4 events
Patched
WordPress 7.0.2, 6.9.5 and 6.8.6 released
Public PoC
Public proof of concept on GitHub. The most-starred, Icex0/wp2shell-poc, runs the full pre-auth SQLi-to-RCE chain for CVE-2026-63030 and CVE-2026-60137.
Added to CISA KEV
Both CVEs added to CISA Known Exploited Vulnerabilities
Exploited in the wild
F5 Labs sensors captured wp2shell exploitation attempts against the batch endpoint (July 2026)
Sources11 links
- CVE-2026-63030
- CVE-2026-60137
- GHSA-ff9f-jf42-662q
- GHSA-fpp7-x2x2-2mjf
- WordPress 7.0.2
- CISA KEV entry
- Searchlight Cyber: pre-authentication RCE in WordPress core
- zsec: code trace deep dive
- FortBridge: RCE analysis
- Cloudflare: WAF protections for both WordPress flaws
- Cloudflare Zero Wire: WordPress SQL injection and RCE briefing
Sources checked on . This page tells you how to check and what to install. It cannot tell you that you are safe.
9 changes since it was published
- Linked the most-starred public proof of concept.
- Remediation steps got short titles; no fact changed.
- Updated source links that moved to a new address.
- Added Cloudflare's WAF write-up and the Cloudflare Zero Wire briefing.
- Added commands to check the installed version.
- Added the Vulnerable Target lab.
- Searchlight Cyber research link updated to its new address.
- Added the F5 Labs in-the-wild capture to the timeline.
- Added exploit conditions from Searchlight Cyber, the two GHSAs and Fortbridge.
