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
10DescriptionCVE.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
AnalysisAI
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.
Technical ContextAI
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.
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).
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
Same weakness CWE-436 – Interpretation Conflict
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-45280