REST API batch route confusion enables SQL injection and remote code execution in WordPress

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-63030?

CVE-2026-63030 is a vulnerability classified as Interpretation Conflict, affecting WordPress (affected versions: 6.9.0 – < 6.9.5 and 7.0.0 – < 7.0.2). This vulnerability is rated Critical, with a CVSS score of 9.8. This vulnerability has been observed being exploited in the wild.

Overview

Original source data

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.

Affected products and scope

  • WordPress 6.9.x: releases from 6.9.0 through before 6.9.5 are affected; 6.9.5 is the fixed release for this branch.
  • WordPress 7.0.x: releases from 7.0.0 through before 7.0.2 are affected; 7.0.2 is the fixed release for this branch.
  • The WordPress release notice also states that the WordPress 7.1 beta release was affected and that 7.1 beta2 contains fixes.
  • WordPress 6.8 is described as affected only by the separate SQL injection issue, not by this batch route-confusion issue. Versions before 6.8 are described as not affected by the two issues covered in that release notice.

Technical details

WordPress core contains a route-confusion flaw in REST API batch processing. At a high level, the flaw can make validation and dispatch of batch sub-requests inconsistent, allowing attacker-controlled request data to reach the author__not_in parameter in WP_Query. That parameter is associated with a separate SQL injection flaw, providing the database manipulation primitive that can be chained into remote code execution. The recorded access conditions are remote network reachability, no authentication, and no user interaction. The supplied advisory does not fully document the internal handler names, deployment-specific configuration, or every environmental prerequisite, so those details remain unknown.

Exploitability

  • The flaw is remotely reachable over the network.
  • The recorded conditions require no authentication and no user interaction; the normalized record identifies low attack complexity.
  • Exploitation depends on chaining the batch route-confusion flaw with the SQL injection in author__not_in; the route-confusion flaw is not described as an independent RCE primitive.
  • The record marks the issue as having a public exploit and as known exploited. It does not identify a specific campaign, victim, or compromised system.

Technical impact

The vulnerability provides a route-confusion primitive in REST API batch processing and can be combined with the WP_Query SQL injection to reach remote code execution. Possible technical outcomes include reading or modifying application data and executing code with the privileges available to the web process or site. Because exploitation does not require authentication, an existing WordPress account is not a prerequisite. The record does not establish the resulting operating-system privileges, cross-site scope, or effects in multi-tenant deployments. Data loss, administrative takeover, and service disruption are therefore realistic consequences to assess, not evidence that a specific incident occurred.

Business impact

  • An unauthenticated attacker can reach the chain through WordPress network-facing functionality, increasing the number of sites that require immediate review.
  • If exploitation succeeds, the SQL injection may enable unauthorized application-data access or modification, while remote code execution may permit changes to site content, configuration, or deployed components.
  • The actual result depends on the web-process privileges, database permissions, filesystem controls, and hardening measures applied to each site.
  • Because the record marks the issue as known exploited, systems that ran an affected release should receive compromise assessment in addition to version remediation.

Remediation

  1. Upgrade WordPress 6.9 to exactly 6.9.5 or WordPress 7.0 to exactly 7.0.2. Do not infer the status of one release branch from the fact that another branch has a fix.
  2. If a WordPress 7.1 beta deployment is in scope, move it to 7.1 beta2, which the release notice identifies as containing the fix.
  3. Verify after updating that the running core version changed and that every node, container, image, or shared host serving the site was updated. WordPress states that forced updates were enabled for sites running affected releases.
  4. For sites exposed before updating, perform a compromise assessment covering administrator accounts, content and configuration changes, newly installed plugins, modified files, and access logs. Updating closes the vulnerable path but does not remove persistence or evidence created before the update.
  5. WordPress 6.8.6 addresses the separate SQL injection issue according to the release notice, but it should not be treated as the fix for this batch route-confusion vulnerability.

Detection

  1. Inventory WordPress core versions and compare them with the affected branches listed in affected_summary.
  2. Identify sites whose REST API batch functionality is reachable from the Internet, then review web and application logs for unusual unauthenticated requests to that functionality. Treat this as precautionary monitoring, not as a confirmed indicator of compromise.
  3. On systems that ran an affected release, review administrator-account creation or changes, content and configuration changes, plugin installation, file changes, and unusual REST activity.
  4. If unexplained activity is found, extend the investigation to access logs, database audit logs, file-integrity data, and WordPress application logs before rebuilding or restoring the site.
  5. Do not treat the absence of suspicious log entries as proof of safety; the record does not provide a complete IOC set.
Sources (27)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.