← Vulnerability feed

Vulnerability record · CVE-2026-60137 · published 17 July 2026

CVE-2026-60137: WordPress WP_Query author__not_in SQL injection

Wordpress · Wordpress

WordPress core fails to properly sanitise the author__not_in parameter of WP_Query in versions before 6.8.6, 6.9.5 and 7.0.2, allowing SQL injection when a plugin or theme passes untrusted input into that parameter. The flaw matters because WP_Query is widely used by third-party code, so exposure depends on how plugins and themes handle user-supplied data.

5.9 CVSS 3.1 Medium CISA KEV since 21 Jul 2026 EPSS 5.9% · top 7.0% CWE-89 · SQL injection
5.9CVSS 3.1 base score
5.9%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
1Affected product versions listed by NVD
3References
29 Jul 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

critical priorityThe flaw is a SQL injection in widely deployed WordPress core code paths, listed in CISA KEV with a near-term remediation deadline and a very high EPSS score.

What it is

WordPress core fails to properly sanitise the author__not_in parameter of WP_Query in versions before 6.8.6, 6.9.5 and 7.0.2, allowing SQL injection when a plugin or theme passes untrusted input into that parameter. The flaw matters because WP_Query is widely used by third-party code, so exposure depends on how plugins and themes handle user-supplied data.

Impact

An attacker who can reach a vulnerable query path can inject SQL, potentially reading arbitrary database contents; the CVSS vector rates confidentiality impact as high with no integrity or availability impact.

Attack surface

Reachable over the network with no authentication and no user interaction per the CVSS vector, but only through a plugin or theme that forwards untrusted input to author__not_in; core alone does not expose the parameter to untrusted input.

Exploitation

CVE-2026-60137 was added to CISA KEV on 2026-07-21 with a 2026-08-04 remediation due date, and EPSS gives a 30-day probability of 0.78305 (99.556th percentile), indicating active exploitation. No ransomware campaign use is documented.

What to do

  • Upgrade WordPress core to 6.8.6, 6.9.5 or 7.0.2 as applicable, following the vendor release notes.
  • Inventory plugins and themes that build WP_Query arguments from request input and update or remove those that pass untrusted data to author__not_in.
  • Apply the CISA KEV required actions, including BOD 26-04 prioritisation and forensics triage, and discontinue use where mitigations are unavailable.
  • Add input validation or a WAF rule blocking SQL metacharacters in author__not_in-style query parameters until all components are patched.

Detection

  • Review web server and WAF logs for requests containing author__not_in or author__not_in-style parameters with SQL syntax such as quotes, UNION, or comment sequences.
  • Monitor database query logs for anomalous SELECT statements originating from WordPress query construction.
  • Hunt for unexpected outbound or database read patterns following requests to plugin or theme endpoints that accept author filtering parameters.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2026-60137 to the Known Exploited Vulnerabilities catalog on 21 July 2026 as "WordPress Core SQL Injection Vulnerability". Required action: Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines. Federal deadline 4 August 2026.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-60137 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-63030WordPress REST API route confusion leads to SQL injection and RCEWordPress 6.9.x before 6.9.5 and 7.0.x before 7.0.2 contain a REST API batch endpoint route confusion flaw (CWE-436). Chained with the author__not_in…KEVEPSS 10%analysed9.8CVE-2016-10033PHPMailer isMail mailSend argument injection enables remote code executionPHPMailer before 5.2.18 fails to properly sanitize the Sender property in the mailSend function of the isMail transport, allowing a crafted backslash…KEVEPSS 100%analysed10.0CVE-2012-2399Wordpress vulnerabilityCross-site scripting (XSS) vulnerability in swfupload.swf in SWFupload 2.2.0.1 and earlier, as used in WordPress before 3.5.2, TinyMCE Image Manager …EPSS 8.6%10.0CVE-2012-2400Wordpress vulnerabilityUnspecified vulnerability in wp-includes/js/swfobject.js in WordPress before 3.3.2 has unknown impact and attack vectors.EPSS 3.0%10.0CVE-2011-3125Wordpress vulnerabilityUnspecified vulnerability in WordPress 3.1 before 3.1.3 and 3.2 before Beta 2 has unknown impact and attack vectors related to "Various security hard…EPSS 2.4%10.0CVE-2011-3122Wordpress vulnerabilityUnspecified vulnerability in WordPress 3.1 before 3.1.3 and 3.2 before Beta 2 has unknown impact and attack vectors related to "Media security."EPSS 2.6%10.0CVE-2009-2853Wordpress permissions and access controls vulnerabilityWordpress before 2.8.3 allows remote attackers to gain privileges via a direct request to (1) admin-footer.php, (2) edit-category-form.php, (3) edit-…EPSS 4.7%10.0CVE-2008-6767Wordpress vulnerabilitywp-admin/upgrade.php in WordPress, probably 2.6.x, allows remote attackers to upgrade the application, and possibly cause a denial of service (applic…EPSS 4.6%

Source: NIST National Vulnerability Database (record CVE-2026-60137), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.