Skip to content
OpenAdvisories
Medium · 5.9 Known exploited Public exploit CVE-2026-60137 EUVD-2026-45279

WordPress < 7.0.2 - Facilitated SQL Injection via author__not_in in WP_Query

Published Jul 17, 2026 · Updated Oct 7, 2026 · Assigned by WPScan

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.

Affected products

VendorProductAffectedFixed
WordPress WordPress 6.8.0 – < 6.8.6, 6.9.0 – < 6.9.5, 7.0.0 – < 7.0.2 6.8.6

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 wordpress 7.0.2+dfsg1-1 —
Debian 13 wordpress 6.8.6+dfsg1-0+deb13u1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 wordpress No fix yet —
Ubuntu 16.04 LTS wordpress No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 2 modules

GitHub 10 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 2

References