WordPress security changelog
HIGH CVE-2026-40762 Deferred

WPGraphQL: SQL injection

WPGraphQL is affected by SQL injection. The vulnerable path is reachable without authentication. A successful request can alter database queries and expose or modify WordPress data. The published affected range is n/a to < 2.11.1.

CVE / CNA score 7.5 CVSS 3.1 · audit@patchstack.com
NVD score Pending NVD has not published its own CVSS assessment.
Component
WPGraphQL
Plugin slug
wp-graphql
Affected
n/a to < 2.11.1
Safe version
2.11.1
Published
Jun 15, 2026
Weakness
CWE-89 — Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

This CVE was published Jun 15, 2026 and is one of 3 known issues for this plugin.

Update, patch or deactivate.

Update WPGraphQL to 2.11.1 or later, or disable and remove it until a fixed version is available.

A safe version is available, so updating to that version or later is the preferred remediation. If an immediate update is not practical, consider a targeted application patch or temporarily restricting the affected functionality.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical description

Unauthenticated SQL Injection in WPGraphQL < 2.11.1 versions.

CVE / CNA vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:L

Primary and upstream sources