WordPress < 7.0.2 - Facilitated SQL Injection via author__not_in in WP_Query (CVE-2026-60137)
Published Last modified In CISA KEV since Sources: NCSC NZ, pwn.watch, BSI, OSV, CVE.org, Debian
- Actively exploited
- Source: VulnCheck KEV (opens in a new tab), ANSSI / CERT-FR, NCSC NZ How we classify
- Public exploit
What is affected, what to do
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.
The vulnerability is being actively exploited; treat it as a priority. Update WordPress to version 6.8.6, WordPress to version 6.9.5, WordPress to version 7.0.2. Immediate actions, mitigation and detection rules are in the runbook below.
- Affected
- WordPress
lt 6.8.0..6.8.6 - WordPress
lt 6.9.0..6.9.5 - WordPress
lt 7.0.0..7.0.2
- WordPress
- Fixed in
- WordPress
6.8.6 - WordPress
6.9.5 - WordPress
7.0.2
- WordPress
Not sure whether and how you are affected? Ask a question about this vulnerability
Metrics
5.9
Priority
XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.
Source: NVD, CVSS v3
5.9
CVSS v3
Severity Medium on the scale from 0 to 10.
Source: NCSC NZ, pwn.watch, BSI, OSV, CVE.org, Debian
5.3 %
EPSS score
Moderate — model estimates 1-10% exploitation likelihood.
Source: FIRST EPSS, percentile 92.6
Show all metrics
- Severity
- Critical
Priority (0–325)
The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?
Read in glossary- 219.13 Methodology
Exploit maturity
An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.
Read in glossary- actively exploitedSource: VulnCheck KEV (opens in a new tab), ANSSI / CERT-FR, NCSC NZ How we classify
XIEM Effective CVSS
XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.
Read in glossary- 5.9 Methodology
CVSS v3
CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.
Read in glossary- 5.9
EPSS score
The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.
Read in glossary- 5.3 %
- Moderate — model estimates 1-10% exploitation likelihood.
EPSS percentile
The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.
Read in glossary- 92.6
- Critical — this CVE ranks in the top fifth of all CVEs scored today (rank ≥ 80%).
KEV status
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- Actively exploited
- Published
In CISA KEV since
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary
Response and mitigation
Why act now?
Prioritisation rationale
On its own, the injection needs a vulnerable plugin or theme and has high attack complexity. It still yields unauthenticated, full read access to the database. The KEV listing is driven mainly by the CISA-documented chain with CVE-2026-63030, which turns it into unauthenticated RCE on default installations. Exploitation likelihood is well above the norm for CVEs, and no ransomware use is recorded. Typical targets are widely deployed, often poorly maintained public websites that get mass-scanned automatically. For organisations running internet-facing WordPress, especially sites holding personal data (GDPR breach-notification exposure) or connected to internal systems, treat this as high priority and patch within 24 to 72 hours. Purely internal instances can follow on a lower priority.
Runbook step 1
Immediate response (0-24 h)
- Patch now: Upgrade WordPress Core to 6.8.6, 6.9.5 or 7.0.2, depending on your release branch. Inventory all instances with
wp core versionand update viawp core updateor the dashboard. Check whether automatic minor updates (WP_AUTO_UPDATE_CORE) have been disabled, since this is the usual reason sites lag behind. - Treat the CVE-2026-63030 chain together: CISA states the two flaws chain into unauthenticated RCE on default installs. Verify patch status for CVE-2026-63030 in the same change window and give it equal priority.
- Internet-facing first: Enumerate every public WordPress site, including forgotten marketing, campaign and staging sites. Any instance that cannot be updated today goes behind a WAF or into maintenance mode.
- Compromise check: Search recent web logs for
author__not_inrequests carrying anything other than integers (see Detection rules). Also look for newly created admin accounts (wp user list --role=administrator) and unexpected PHP files inwp-content/uploads/. - Rotate secrets if anything looks off: The flaw gives full read access to the database. Rotate all admin passwords, the DB password in
wp-config.php, the auth keys/salts, and any API keys stored inwp_options(SMTP, payment, CDN).
- Patch now: Upgrade WordPress Core to 6.8.6, 6.9.5 or 7.0.2, depending on your release branch. Inventory all instances with
Runbook step 2
Mitigation layers
- WAF/reverse proxy: Restrict
author__not_inin both the query string and the POST body to digits, commas and array syntax. A ModSecurity approach:SecRule ARGS_NAMES "@rx author__not_in" "id:1060137,phase:2,chain,deny"chained withSecRule ARGS:/author__not_in/ "!@rx ^[0-9,\s]*$". Apply an equivalent custom rule on cloud WAFs, covering/wp-json/andadmin-ajax.php. - Plugin/theme audit: The flaw is only reachable when an extension passes untrusted input into
WP_Query. Rungrep -rn "author__not_in" wp-content/and flag any call site that forwards$_GET/$_POST/$requestwithoutabsintorarray_map('intval', …). Disable those extensions or get them fixed by the vendor. - Least-privilege database: The WordPress DB user should have rights to its own schema only, no
FILEprivilege, andsecure_file_privshould be set. This killsINTO OUTFILEwebshell drops and contains impact to the single site. - Application hardening: Set
DISALLOW_FILE_EDIT, and where feasibleDISALLOW_FILE_MODS, inwp-config.php. Block PHP execution inwp-content/uploads/at the web-server level (nginxlocation ~* /uploads/.*\.php$ { deny all; }). - Segmentation: The database should be reachable from the web tier only, with TCP 3306 never exposed externally. Restrict web-server egress to required destinations (update servers, APIs) to hamper exfiltration and tool staging.
- WAF/reverse proxy: Restrict
Runbook step 3
Detection rules
- Web access logs: Look for
author__not_incombined with SQL keywords. Example SPL:index=web uri_query="*author__not_in*" | regex uri_query="(?i)(union|select|sleep\(|benchmark\(|extractvalue|0x[0-9a-f]{6,})". Exploits may arrive via POST, so also review WAF logs with body inspection enabled. - Time-based blind SQLi: Watch for bursts of slow responses (
request_timeover 5 s) from a single source IP against REST or AJAX endpoints. This is the classic footprint of automated extraction against a high-complexity injection point. - Database telemetry: Check the MySQL/MariaDB error or slow-query logs for syntax errors,
SLEEP(,UNIONorinformation_schemaaccess under the WordPress DB user. - Process ancestry (EDR/auditd), which signals a successful chain: Alert when
php-fpm/apache2/httpdspawnssh,bash,curl,wgetorpython. A matching auditd rule:-a always,exit -F arch=b64 -S execve -F uid=33 -k web_exec. Sigma shape:ParentImage|endswith: php-fpmwithImage|endswith: [/sh, /bash, /curl]. - Integrity: Look for new
.phpfiles underwp-content/uploads/, newadministratorusers, and changes tositeurloractive_pluginsinwp_options. Validate core files withwp core verify-checksums.
- Web access logs: Look for
Detection rules
No NEOSEC detection rule is available for this vulnerability yet.
Classification under NIS2 and CRA
Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.
NIS2
NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.
Read in glossary- Actively exploited: treat the vulnerability as a priority in vulnerability handling under Art. 21(2)(e) NIS2. If it is exploited in your environment, check the reporting obligation under Art. 23 (early warning within 24 hours).
CRA
The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.
Read in glossary- Since 11.09.2026, manufacturers of affected products with digital elements must report actively exploited vulnerabilities under Art. 14 CRA, with an early warning within 24 hours via ENISA's single reporting platform.
ISO/IEC 27001
ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.
Read in glossary- Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.
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.
Source: NCSC NZ (CC BY 4.0), pwn.watch, BSI WID Portal, BSI CSAF, OSV (Open Source Vulnerabilities), NVD (NIST), cvelistv5, CISA KEV Catalog, Debian Security Advisories
Affected products
The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.
| Affected versions | Fixed in | ||
|---|---|---|---|
| WordPress | WordPress |
|
|
| wordpress | wordpress |
|
|
| Open Source | WordPress |
|
|
Distribution and container packages (3)
Downstream packages (e.g. Bitnami, Debian, Ubuntu, Red Hat). Versions refer to the distribution, not the vendor.
| Affected versions | Fixed in | ||
|---|---|---|---|
| bitnami | wordpress-multisite |
|
|
Vendors and products
Affected operating systems
| Linux | debian | wordpress | trixie |
Public exploit references
Publicly reported proof-of-concepts, exploit modules and detection templates for this vulnerability. NEOSEC links to the original sources only and does not provide any exploit code.
| CISA KEV Catalog | CISA Known Exploited Vulnerability (opens in a new tab)cisa.gov | actively exploited | |
| NCSC NZ | CVE-2026-63030 and CVE-2026-60137 affecting WordPress (opens in a new tab)NCSC NZ | actively exploited | |
| ANSSI / CERT-FRLicence Ouverte 2.0, as of | CERTFR-2026-ALE-007 – Multiples vulnérabilités dans WordPress (clôturée 2026-08-24) (opens in a new tab)cert.cyber.gouv.fr | actively exploited | |
| PoC-in-GitHub (nomi-sec) | CVE-2026-60137-WordPress-Core-SQL-Injection-PoC (opens in a new tab)github.com | PoC (publicly reported)reported, not verified | |
| PoC-in-GitHub (nomi-sec) | CVE-2026-60137 (opens in a new tab)github.com | PoC (publicly reported)reported, not verified | |
| PoC-in-GitHub (nomi-sec) | Wp2shell-ioc-scanner (opens in a new tab)github.com | PoC (publicly reported)reported, not verified | |
| PoC-in-GitHub (nomi-sec) | CVE-2026-60137-With-Skip-SSL (opens in a new tab)github.com | PoC (publicly reported)reported, not verified | |
| PoC-in-GitHub (nomi-sec) | wp2shell-poc (opens in a new tab)github.com | PoC (publicly reported)reported, not verified | |
| PoC-in-GitHub (nomi-sec) | Fix-CVE-2026-60137-CVE-2026-63030-in-wordpress (opens in a new tab)github.com | PoC (publicly reported)reported, not verified | |
| PoC-in-GitHub (nomi-sec) | Ultimate-wp2shell (opens in a new tab)github.com | PoC (publicly reported)reported, not verified | |
| PoC-in-GitHub (nomi-sec) | abdal-cve-2026-60137 (opens in a new tab)github.com | PoC (publicly reported)reported, not verified | |
| PoC-in-GitHub (nomi-sec) | wp2shell-poc (opens in a new tab)github.com | PoC (publicly reported)reported, not verified | |
| PoC-in-GitHub (nomi-sec) | wp2shell (opens in a new tab)github.com | PoC (publicly reported)reported, not verified |
References & sources
- github.comWordPress/wordpress-develop/security/advisories/GHSA-fpp7-x2x2-…web, Vulnerability database, Technical description
- NVD (NIST)NVD: CVE-2026-60137web, pwn-watch
- wordpress.orgWordPress Core — CVE-2026-60137web, Release notes, Vendor advisory, pwn-watch
- cisa.govknown-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60137web, government-resource
- cert.atCERT.at: Kritische Sicherheitslücken in WordPress - Updates verfügbarcert-at
- cert.cyber.gouv.frANSSI / CERT-FR: CERTFR-2026-ALE-007 – Multiples vulnérabilités dans WordPress (clôturée 2026-08-24)cert-fr
- pwn.watchpwn.watch: WordPress Core: WordPress Core SQL Injection Vulnerabilitypwn-watch
- NVD (NIST)NVD: CVE-2026-63030pwn-watch
- cisa.govCISA Known Exploited Vulnerabilities Catalogpwn-watch
Changes to this CVE
Who changed this CVE and when: NVD (analysis, affected products, CVSS), the CVE publisher (CNA) and additional providers such as CISA (ADP).
NVD analysis modifiedNVD
Record modifiedWPScan
Show 6 original changes
Individual changes of this event as published by NVD Type Action Before After Reference added —https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-fpp7-x2x2-2mjfReference added —https://wordpress.org/news/2026/07/wordpress-7-0-2-release/Reference removed https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-fpp7-x2x2-2mjf—Reference removed https://wordpress.org/news/2026/07/wordpress-7-0-2-release/—Reference type removed https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-fpp7-x2x2-2mjf Types: Vendor Advisory—Reference type removed https://wordpress.org/news/2026/07/wordpress-7-0-2-release/ Types: Release Notes—Source identifier: contact@wpscan.com
Record modifiedCISA ADP
CVSS V3.1: before AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N, after —
Show 4 original changes
Individual changes of this event as published by NVD Type Action Before After CVSS removed AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N—Reference added —https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60137Reference removed https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60137—Reference type removed https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60137 Types: US Government Resource—Source identifier: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Record modifiedCISA ADP
CISA assessment (SSVC): exploitation: active, automatable: no
Show the original change
Individual changes of this event as published by NVD Type Action Before After SSVC assessment changed {"id":"CVE-2026-60137","role":"CISA Coordinator","options":[{"exploitation":"active"},{"automatable":"yes"},{"technicalImpact":"total"}],"version":"2.0.3","timestamp":"2026-07-21T15:45:09.401257Z"}{"id":"CVE-2026-60137","role":"CISA Coordinator","options":[{"exploitation":"active"},{"automatable":"no"},{"technicalImpact":"total"}],"version":"2.0.3","timestamp":"2026-07-21T00:00:00+00:00"}Source identifier: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Initial analysis by NVDNVD
Newly listed as affected:- WordPress (6.9 – before 6.9.5; 7.0 – before 7.0.2; 6.8 – before 6.8.6)
Show 4 original changes
Individual changes of this event as published by NVD Type Action Before After Product configuration added —OR *cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* versions from (including) 6.9 up to (excluding) 6.9.5 *cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* versions from (including) 7.0 up to (excluding) 7.0.2 *cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* versions from (including) 6.8 up to (excluding) 6.8.6Reference type added —WPScan: https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-fpp7-x2x2-2mjf Types: Vendor AdvisoryReference type added —WPScan: https://wordpress.org/news/2026/07/wordpress-7-0-2-release/ Types: Release NotesReference type added —CISA-ADP: https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60137 Types: US Government ResourceSource identifier: nvd@nist.gov
Show 5 older changes
Record modifiedCISA ADP
CISA assessment (SSVC): exploitation: active, automatable: yes
Show 2 original changes
Individual changes of this event as published by NVD Type Action Before After Reference added —https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-60137SSVC assessment changed {"id":"CVE-2026-60137","role":"CISA Coordinator","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"total"}],"version":"2.0.3","timestamp":"2026-07-17T19:51:44.616319Z"}{"id":"CVE-2026-60137","role":"CISA Coordinator","options":[{"exploitation":"active"},{"automatable":"yes"},{"technicalImpact":"total"}],"version":"2.0.3","timestamp":"2026-07-21T15:45:09.401257Z"}Source identifier: 134c704f-9b21-4f2e-91b3-4a467353bcc0
CISA KEV entry updated9119a7d8…
4 individual changes: Date Added, Due Date, Required Action, Vulnerability Name
Show 4 original changes
Individual changes of this event as published by NVD Type Action Before After Date Added added —2026-07-21Due Date added —2026-07-21Required Action added —2026-07-21Vulnerability Name added —2026-07-21Source identifier: 9119a7d8-5eab-497f-8521-727c672e3725
Record modifiedWPScan
CVSS V3.1: AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Show the original change
Individual changes of this event as published by NVD Type Action Before After CVSS added —AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NSource identifier: contact@wpscan.com
ReceivedWPScan
Description added or changed
Show 4 original changes
Individual changes of this event as published by NVD Type Action Before After Affected versions (publisher) added —WordPressDescription added —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.Reference added —https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-fpp7-x2x2-2mjfReference added —https://wordpress.org/news/2026/07/wordpress-7-0-2-release/Source identifier: contact@wpscan.com
Record modifiedCISA ADP
CVSS V3.1: AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CISA assessment (SSVC): exploitation: none known, automatable: yes
Weakness type: CWE-89
Show 3 original changes
Individual changes of this event as published by NVD Type Action Before After CVSS added —AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NWeakness type (CWE) added —CWE-89SSVC assessment added —{"id":"CVE-2026-60137","role":"CISA Coordinator","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"total"}],"version":"2.0.3","timestamp":"2026-07-17T19:51:44.616319Z"}Source identifier: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Linked advisories
- @RISK®: The Consensus Security Vulnerability Alert: Vol. 26, Num. 29SANS @RISK
- @RISK®: The Consensus Security Vulnerability Alert: Vol. 26, Num. 28SANS @RISK
- Update WordPress Now to Fix Actively Exploited wp2shell VulnerabilitiesSANS NewsBites
- Multiples vulnérabilités dans WordPress (20 juillet 2026)CERT-FR (ANSSI)
Embed badge
Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.
<a href="https://intel.neosec.eu/en/cve/CVE-2026-60137"><img src="https://intel.neosec.eu/badge/cve/CVE-2026-60137.svg?lang=en" alt="CVE-2026-60137 – NEOSEC Intel" height="20"></a>