CVE-2026-60137

WordPress < 7.0.2 - Facilitated SQL Injection via author__not_in in WP_Query

Published Jul 17, 2026 CVSS 3.1 · 5.9 Medium EPSS 5.3% KEV · Listed
Description
WordPress 6.8.x before 6.8.6, 6.9.x before 6.9.5, and 7.0.x before 7.0.2 does not properly sanitise the author__not_in parameter of WP_Query, which could allow SQL Injection when a plugin or theme passes untrusted input to the parameter.

Analysis

AI-generated

Technical impact

WordPress versions prior to 6.8.6, 6.9.5, and 7.0.2 fail to sanitize the author__not_in parameter of WP_Query, allowing an attacker to inject arbitrary SQL when a plugin or theme supplies untrusted input to that parameter. This flaw is a classic SQL Injection vulnerability (CWE‑89) that can lead to data exposure, unauthorized data manipulation, or other database compromise.

Affected Systems

WordPress installations running 6.8.x before 6.8.6, 6.9.x before 6.9.5, or 7.0.x before 7.0.2 are affected, particularly when any plugin or theme passes user‑controlled data to the author__not_in argument of WP_Query.

Risk and Exploitability

The CVSS score of 5.9 indicates moderate severity, and the EPSS score of 6% suggests a lower likelihood of exploitation in the wild. This vulnerability is listed in CISA’s KEV catalog. The likely attack vector is remote, achieved through a crafted HTTP request that exploits a plugin or theme’s use of author__not_in.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade WordPress to version 7.0.2 (or 6.8.6/6.9.5 for the corresponding releases) to apply the vendor patch.
  • Identify and update or replace all plugins or themes that supply user input to the author__not_in parameter, ensuring proper validation or sanitization before it is passed to WP_Query.
  • Configure an application firewall or security plugin to detect and block suspicious SQL injection attempts targeting the author__not_in argument, and monitor logs for abnormal query patterns.

Generated by OpenCVE AI on September 24, 2026 at 23:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6399-1 wordpress security update
History
Type Values Removed Values Added
Metrics ssvc

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

ssvc

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

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'}

Type Values Removed Values Added
Metrics kev

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

Type Values Removed Values Added
Metrics cvssV3_1

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

cvssV3_1

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

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress
Type Values Removed Values Added
Weaknesses CWE-89
Metrics cvssV3_1

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

ssvc

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

Type Values Removed Values Added
Description WordPress 6.8.x before 6.8.6, 6.9.x before 6.9.5, and 7.0.x before 7.0.2 does not properly sanitise the author__not_in parameter of WP_Query, which could allow SQL Injection when a plugin or theme passes untrusted input to the parameter.
Title WordPress < 7.0.2 - Facilitated SQL Injection via author__not_in in WP_Query
References
Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
WPScan
Published
Updated
Oct 7, 2026, 6:16 PM
Reserved
Jul 17, 2026, 5:17 PM
Status
Analyzed
Published
Jul 17, 2026, 8:17 PM
Modified
Oct 8, 2026, 10:35 AM