Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted REST batch request
-
DeliveryTrigger route confusion in /batch/v1
-
ExploitSmuggle malicious author__not_in into WP_Query
-
ExecutionExecute injected SQL on database
-
PersistEscalate SQLi to code execution
-
ImpactFull compromise of WordPress host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V4 - API and Web Service Interpretation consistency
|
| Exploitation Conditions | Exploitation requires the target to be running an affected WordPress core version (6.9.0-6.9.4 or 7.0.0-7.0.1) with the REST API enabled and the /batch/v1 batch endpoint reachable - both are on by default in a stock WordPress installation. The full impact chain also depends on the site being vulnerable to CVE-2026-60137 (the author__not_in WP_Query SQL injection), so a site that has patched only one of the two CVEs limits the RCE outcome. No authentication or user interaction is required per the CVSS vector (PR:N/UI:N), and no non-default configuration is needed, which is what makes this broadly exploitable; the primary limiting factor is simply whether the site has already applied the 6.9.5 / 7.0.2 update. |
| Impact | This is a genuine high-priority issue rather than an inflated CVSS score. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, C:H/I:H/A:H = 9.8) indicates unauthenticated, network-reachable exploitation with full confidentiality, integrity and availability impact, and the CISA SSVC assessment reinforces this with Automatable: yes and Technical Impact: total. Publicly available exploit code (a Nuclei template) lowers the barrier to opportunistic scanning and mass exploitation. The one mitigating signal is SSVC Exploitation: none and the absence of a CISA KEV listing, meaning no confirmed active exploitation has been observed yet, so current risk is 'weaponizable and easily automated' rather than 'confirmed in the wild.' One caution: the CVSS vector rates AC:L and PR:N, but real-world exploitation depends on chaining two distinct vulnerabilities (the route confusion plus CVE-2026-60137), so environments that have already addressed the WP_Query SQLi path may be harder to fully exploit than the raw 9.8 suggests - verify both CVEs are remediated. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted request to the WordPress REST API batch endpoint that exploits the route confusion to smuggle a malicious author__not_in parameter into a WP_Query-backed sub-request, triggering the CVE-2026-60137 SQL injection. The injected query is leveraged to read or modify database contents and pivot to remote code execution on the server. A public Nuclei template already exists to detect and exercise the flaw, making automated, at-scale scanning realistic. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Jul 18, 2026
Remote code execution in WordPress 6.9.x (before 6.9.5) and 7.0.x (before 7.0.2) arises from a REST API batch endpoint route confusion flaw that, when chained with the author__not_in WP_Query SQL injection (CVE-2026-60137), lets attackers inject SQL and ultimately execute arbitrary code on the underlying host. Publicly available exploit code exists (a ProjectDiscovery Nuclei template and WPScan advisory), and the CISA SSVC framework rates the flaw as automatable with total technical impact, though it is not currently listed in CISA KEV. The vulnerability was reported by WPScan and patched in the WordPress 7.0.2 and 6.9.5 releases.
Earlier versions of this analysis (1)
Remote SQL injection leading to remote code execution affects WordPress 6.9.0–6.9.4 and 7.0.0–7.0.1, where a REST API batch endpoint route-confusion flaw lets an unauthenticated attacker reach the vulnerable author__not_in WP_Query SQL injection (CVE-2026-60137) that is otherwise guarded. WPScan reported the issue and the WordPress core team fixed it in 6.9.5 and 7.0.2. No public exploit identified at time of analysis, but CISA's SSVC framework rates the chain as automatable with total technical impact, and WordPress's ubiquity makes it a high-priority patch.
RemediationAI
Vendor-released patch: upgrade WordPress to 7.0.2 (for the 7.0.x branch) or 6.9.5 (for the 6.9.x branch); sites with automatic background minor updates enabled will typically receive the release automatically, but this should be verified. Because the flaw is exploited by chaining with CVE-2026-60137, confirm the upgrade also remediates that SQL injection. Where immediate patching is not possible, restrict or filter access to the REST API batch endpoint (/wp-json/batch/v1) at the WAF or reverse-proxy layer and block anomalous author__not_in query parameters, accepting the trade-off that disabling batch requests may break plugins or clients that rely on batched REST calls. Refer to the vendor advisory at https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-ff9f-jf42-662q and the release announcement at https://wordpress.org/news/2026/07/wordpress-7-0-2-release/ (additional analysis at https://vuldb.com/vuln/379927).
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is WordPress core's REST API infrastructure, specifically the batch (/batch/v1) endpoint that dispatches multiple sub-requests in a single call. The root cause is CWE-436 (Interpretation Conflict / route confusion): the batch dispatcher and the underlying route-matching logic disagree on how a request path or parameter is resolved, allowing a request to be routed or validated inconsistently. This route confusion becomes dangerous when it is used to reach or smuggle input into WP_Query's author__not_in handling, which contains the separate SQL injection tracked as CVE-2026-60137. Because WP_Query builds SQL from the author__not_in array, unsanitized values flow into the database query, and a successful SQLi against a MySQL/MariaDB backend can be escalated to remote code execution (for example via option or plugin manipulation and PHP object handling paths). The CPE cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* confirms WordPress core itself is the affected product rather than a third-party plugin.
Know when WordPress gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Unauthenticated network attack against the default REST batch endpoint with SSVC-confirmed automatability justifies AV:N/AC:L/PR:N/UI:N; SQLi-to-RCE yields full C:H/I:H/A:H.
Primary rating from Vendor (WPScan).
CVSS VectorVendor: WPScan
Lifecycle Timeline
8DescriptionCVE.org
WordPress 6.9.x before 6.9.5 and 7.0.x before 7.0.2 is affected by a REST API batch endpoint route confusion issue which, combined with the author__not_in WP_Query SQL Injection (CVE-2026-60137), could allow an attacker to perform SQL Injection and achieve Remote Code Execution.
Articles & Coverage 4
Executive ViewAI
WordPress versions 6.9.0 through 7.0.1 contain a critical remote code execution vulnerability (CVE-2026-63030, CVSS 9.8) with publicly available exploit code. Organizations running these versions face immediate risk of website compromise, data theft, and complete server takeover. Patching to version 6.9.5 or 7.0.2 is essential to prevent exploitation.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra para
The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
EUVD-2026-45280
NVD
CVE.org
CISA KEV
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB