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 through the field, resulting in full command execution.



