WordPress WP_Query SQLi: unsanitized author__not_in (6.8.6,6.9.5,7.0.2)
CVE-2026-60137 Published on July 17, 2026
WordPress < 7.0.2 - Facilitated SQL Injection via author__not_in in WP_Query
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.
Vulnerability Analysis
CVE-2026-60137 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality and integrity, and no impact on availability.
Weakness Type
What is a SQL Injection Vulnerability?
The software constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component.
CVE-2026-60137 has been classified to as a SQL Injection vulnerability or weakness.
Products Associated with CVE-2026-60137
Want to know whenever a new CVE is published for WordPress? stack.watch will email you.
Affected Versions
WordPress:- Version 6.8.0 and below 6.8.6 is affected.
- Version 6.9.0 and below 6.9.5 is affected.
- Version 7.0.0 and below 7.0.2 is affected.