CVE-2026-63030 – Critical Pre‑Authentication RCE in WordPress Core (wp2shell)
Key takeaways
- Severity: Critical remote code execution.
- Impact: Unauthenticated attacker can gain full system control on a default WordPress install.
- Affected versions: 6.9.0‑6.9.4, 7.0.0‑7.0.1 (pre‑patched).
- Immediate action: Update to 6.9.5 or 7.0.2, or apply the temporary mitigation steps below.
- Monitoring: Track live exploitation signals on the VulnSocial CVE page.
Overview
On July 17 2026, WordPress.org disclosed a pre‑authentication remote code execution (RCE) flaw in the core software, dubbed “wp2shell”. The issue is tracked as CVE-2026-63030 (and the related SQL injection CVE-2026-60137). No authentication, plugins, or special configuration is required – a plain stock installation is exploitable.
Technical details
The exploit chains two independent bugs:
- REST batch route confusion (CVE‑2026‑60137) – An unauthenticated SQL injection occurs when a crafted request is sent to the
/wp-json/wp/v2/batch/v1endpoint. The injection can manipulate theWP_QuerySQL used by the core. - WP_Query RCE (CVE‑2026‑63030) – The injected query can write arbitrary PHP code to the uploads directory or trigger
eval()through thepost_contentfield, resulting in full command execution.
Because both bugs exist in the default core, the chain works on a fresh install with no plugins. Public proof‑of‑concepts (PoCs) appeared on GitHub within days of disclosure, and active exploitation reports began on July 18 2026, with multiple exploit tools observed in the wild.
Severity & impact
- CVSS: Not yet published by NVD, but the combination of unauthenticated access and full RCE warrants a Critical rating.
- Confidentiality, Integrity, Availability: Complete compromise of the web server, potential lateral movement, and data exfiltration.
Affected products
- WordPress Core 6.9.0 – 6.9.4
- WordPress Core 7.0.0 – 7.0.1
For the exhaustive list of affected versions and downstream distributions, see the official CVE page: https://vulnsocial.com/cve/CVE-2026-63030.
What you should do now
| Step | Action |
|---|---|
| 1 | Verify your current WordPress version (wp-admin > Updates or wp core version). |
| 2 | Patch immediately to 6.9.5 or 7.0.2, which contain the official fix. |
| 3 | If patching is not possible, temporarily block the REST batch endpoint: <LocationMatch "/wp-json/wp/v2/batch/v1">\n Require all denied\n</LocationMatch> (web‑server level) or disable the REST API via a security plugin. |
| 4 | Restrict access to the REST API to trusted IPs or authenticated users. |
| 5 | Deploy a WAF rule that drops POST requests to /wp-json/wp/v2/batch/v1 containing suspicious sql parameters. |
| 6 | Monitor logs for anomalous batch requests (e.g., large POST bodies, repeated 500 responses). |
| 7 | Subscribe to live threat intel on the VulnSocial CVE page to see new exploit attempts or indicator spikes. |
Remediation & mitigation checklist
- Apply the official patch.
- Disable the REST batch route if you cannot upgrade immediately.
- Enforce authentication on all REST API endpoints.
- Implement a WAF rule to block the specific payload pattern used by the PoC.
- Audit file system for unexpected PHP files in
wp-content/uploads. - Rotate credentials for any accounts that may have been compromised.
References
- Official WordPress security advisory (GHSA‑ff9f‑jf42‑662q) – https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-ff9f-jf42-662q
- Official WordPress security advisory (GHSA‑fpp7‑x2x2‑2mjf) – https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-fpp7-x2x2-2mjf
- NVD entry for CVE-2026-63030 – https://nvd.nist.gov/vuln/detail/CVE-2026-63030
- Cloudflare analysis of the two WordPress flaws – https://blog.cloudflare.com/wordpress-vulnerabilities
- PoC repository (Icex0) – https://github.com/Icex0/wp2shell-poc
- WP2Shell project site – http://wp2shell.com
- Full‑hunt technical deep‑dive – https://fullhunt.io/blog/2026/07/17/wp2shell-wordpress-core-pre-auth-rce-cve-2026-63030.html
- VulnSocial live CVE page – https://vulnsocial.com/cve/CVE-2026-63030
Bottom line
CVE-2026-63030 is a Critical pre‑authentication RCE that can compromise any WordPress site running the affected core versions. The fastest defense is to update to the patched releases; if that is not feasible, apply the mitigation steps above and monitor for exploitation activity.
#hashtags
#CVE #Critical #RCE #WordPress #CVE202663030
