WordPress Core "wp2shell" RCE flaws get public exploits, patch now
Two critical remote code execution vulnerabilities, collectively known as "wp2shell," affect WordPress Core versions 6.9.0 through 6.9.4 and 7.0.0 through 7.0.1. These unauthenticated flaws can be chained to achieve pre-authentication remote code execution on default WordPress installations. The vulnerabilities consist of a REST API batch-route confusion bug (CVE-2026-63030) and an SQL injection flaw in the 'author__not_in' parameter of WP_Query (CVE-2026-60137). Public proof-of-concept exploits have been released, and early signs of in-the-wild exploitation have been reported. WordPress has issued forced automatic updates to patch these vulnerabilities in versions 6.9.5 and 7.0.2. Temporary mitigations include blocking REST API access or specific endpoints at the WAF level, but patching is strongly recommended.
AI Analysis
Technical Summary
The wp2shell attack chain involves two independent vulnerabilities in WordPress Core: CVE-2026-63030, a REST API batch-route confusion vulnerability introduced in WordPress 6.9, and CVE-2026-60137, a high-severity SQL injection vulnerability affecting WordPress 6.8 and later. When combined, these flaws allow unauthenticated attackers to execute remote code on WordPress installations running versions 6.9.0 through 6.9.4 and 7.0.0 through 7.0.1. The SQL injection alone affects versions 6.8.0 through 6.8.5 but cannot be chained to RCE without the REST API flaw. WordPress has responded by enabling forced automatic security updates to versions 6.9.5 and 7.0.2, which fix the vulnerabilities. Public proof-of-concept exploits demonstrate the ability to extract password hashes and execute commands without authentication. Temporary mitigations include blocking REST API access or specific batch endpoints via plugins or WAF rules. Cloudflare has deployed WAF protections for these vulnerabilities across all plans. Due to the critical nature and public exploit availability, immediate patching is essential.
Potential Impact
Successful exploitation allows unauthenticated remote attackers to execute arbitrary code on vulnerable WordPress sites, potentially leading to full site compromise. The vulnerabilities affect default WordPress installations without requiring plugins or prior authentication. Public proof-of-concept exploits enable attackers to extract administrator password hashes, crack them, and upload malicious plugins to execute commands. Early reports indicate some in-the-wild exploitation following public exploit release. Given WordPress's widespread use (over 500 million sites), the impact is potentially massive.
Mitigation Recommendations
A fix is available in WordPress versions 6.9.5 and 7.0.2. WordPress has enabled forced automatic security updates for supported installations running affected versions. Site administrators should update immediately to these patched versions. Temporary mitigations include installing plugins that block anonymous access to the REST API or blocking the /wp-json/batch/v1 and ?rest_route=/batch/v1 endpoints at the WAF level. Cloudflare users benefit from WAF protections deployed across all plans. These mitigations are temporary and do not replace patching. Administrators should verify their sites are updated and test for vulnerability using tools such as wp2shell.com.
WordPress Core "wp2shell" RCE flaws get public exploits, patch now
Description
Two critical remote code execution vulnerabilities, collectively known as "wp2shell," affect WordPress Core versions 6.9.0 through 6.9.4 and 7.0.0 through 7.0.1. These unauthenticated flaws can be chained to achieve pre-authentication remote code execution on default WordPress installations. The vulnerabilities consist of a REST API batch-route confusion bug (CVE-2026-63030) and an SQL injection flaw in the 'author__not_in' parameter of WP_Query (CVE-2026-60137). Public proof-of-concept exploits have been released, and early signs of in-the-wild exploitation have been reported. WordPress has issued forced automatic updates to patch these vulnerabilities in versions 6.9.5 and 7.0.2. Temporary mitigations include blocking REST API access or specific endpoints at the WAF level, but patching is strongly recommended.
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The wp2shell attack chain involves two independent vulnerabilities in WordPress Core: CVE-2026-63030, a REST API batch-route confusion vulnerability introduced in WordPress 6.9, and CVE-2026-60137, a high-severity SQL injection vulnerability affecting WordPress 6.8 and later. When combined, these flaws allow unauthenticated attackers to execute remote code on WordPress installations running versions 6.9.0 through 6.9.4 and 7.0.0 through 7.0.1. The SQL injection alone affects versions 6.8.0 through 6.8.5 but cannot be chained to RCE without the REST API flaw. WordPress has responded by enabling forced automatic security updates to versions 6.9.5 and 7.0.2, which fix the vulnerabilities. Public proof-of-concept exploits demonstrate the ability to extract password hashes and execute commands without authentication. Temporary mitigations include blocking REST API access or specific batch endpoints via plugins or WAF rules. Cloudflare has deployed WAF protections for these vulnerabilities across all plans. Due to the critical nature and public exploit availability, immediate patching is essential.
Potential Impact
Successful exploitation allows unauthenticated remote attackers to execute arbitrary code on vulnerable WordPress sites, potentially leading to full site compromise. The vulnerabilities affect default WordPress installations without requiring plugins or prior authentication. Public proof-of-concept exploits enable attackers to extract administrator password hashes, crack them, and upload malicious plugins to execute commands. Early reports indicate some in-the-wild exploitation following public exploit release. Given WordPress's widespread use (over 500 million sites), the impact is potentially massive.
Mitigation Recommendations
A fix is available in WordPress versions 6.9.5 and 7.0.2. WordPress has enabled forced automatic security updates for supported installations running affected versions. Site administrators should update immediately to these patched versions. Temporary mitigations include installing plugins that block anonymous access to the REST API or blocking the /wp-json/batch/v1 and ?rest_route=/batch/v1 endpoints at the WAF level. Cloudflare users benefit from WAF protections deployed across all plans. These mitigations are temporary and do not replace patching. Administrators should verify their sites are updated and test for vulnerability using tools such as wp2shell.com.
Threat ID: 6a5bbe612a4a8d5989099d06
Added to database: 07/18/2026, 17:56:49 UTC
Last enriched: 07/18/2026, 17:57:02 UTC
Last updated: 07/18/2026, 22:03:58 UTC
Views: 30
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.