Description
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.
Published: 2026-07-17
Score: 9.8 Critical
EPSS: 98.4% High
KEV: Yes
Impact: n/a
Action: n/a
AI Analysis

Impact

An attacker may exploit a confusion in the REST API batch endpoint routes, which together with a preexisting author__not_in SQL injection flaw in WP_Query, enables extraction and manipulation of database contents. This leads to Remote Code Execution by allowing the attacker to inject and execute arbitrary code on the server. The vulnerability is identified as CWE-436, representing incorrect sanitization, leading to SQL injection.

Affected Systems

WordPress installations running version 6.9.x before 6.9.5 and 7.0.x before 7.0.2 are affected. These versions are distributed through the official WordPress repository and are in use by many sites worldwide.

Risk and Exploitability

The CVSS score of 9.8 reflects the high severity and potential for complete compromise. The EPSS score of 98% indicates a very high probability of exploitation in the current environment. The vulnerability is listed in the CISA KEV catalog. Based on the description, the likely attack vector is remotely via the REST API; an attacker can send a specially crafted HTTP request to trigger the route confusion and exploit the SQL injection. These conditions do not require prior authentication, making the risk particularly high for publicly exposed WordPress sites.

Generated by OpenCVE AI on August 4, 2026 at 07:07 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade WordPress to version 6.9.5 or later or version 7.0.2 or later.
  • Ensure the latest WordPress core updates are installed and that no deprecated code remains in the environment.
  • If an immediate upgrade is not possible, consider temporarily disabling the REST API batch routes or restricting access to the REST API with authentication and IP whitelisting.

Generated by OpenCVE AI on August 4, 2026 at 07:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 21 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
References
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'active', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 21 Jul 2026 15:00:00 +0000

Type Values Removed Values Added
Metrics kev

{'dateAdded': '2026-07-21T00:00:00+00:00', 'dueDate': '2026-07-24T00:00:00+00:00'}


Sat, 18 Jul 2026 04:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Fri, 17 Jul 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress

Fri, 17 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-436
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 17 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Description 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.
Title WordPress < 7.0.2 - REST API batch-route confusion and SQL injection issue leading to Remote Code Execution
References

Subscriptions

Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-07-22T03:55:46.565Z

Reserved: 2026-07-17T17:17:24.474Z

Link: CVE-2026-63030

cve-icon Vulnrichment

Updated: 2026-07-17T19:49:42.808Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T07:15:03Z

Weaknesses