Skip to main content

WPGraphQL CVE-2026-40762

| EUVDEUVD-2026-36975 HIGH
SQL Injection (CWE-89)
2026-06-15 Patchstack GHSA-4x56-83j8-4m8f
7.5
CVSS 3.1 · Vendor: Patchstack
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify WordPress site exposing /graphql
  2. Delivery
    Probe WPGraphQL version and schema
  3. Exploit
    Craft malicious GraphQL query with SQLi payload
  4. Execution
    Trigger blind SQL injection via wpdb
  5. Impact
    Exfiltrate wp_users and options data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The vulnerable WPGraphQL plugin (version below 2.11.1) must be installed and active on a WordPress site, and the site's GraphQL endpoint (default /graphql) must be reachable by the attacker over the network; no WordPress account or user interaction is required (PR:N, UI:N). The CVSS AC:H rating indicates exploitation is not trivial - it likely requires a specific query, field, or argument combination, or particular database/server behaviour to succeed, rather than any arbitrary injected SQL working. Limiting factors include sites that have firewalled or authentication-gated the GraphQL endpoint, sites running WPGraphQL 2.11.1 or later, and any WAF rules already blocking SQLi-shaped payloads on the GraphQL route.

Impact

The CVSS 3.1 vector AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:L describes a network-reachable, unauthenticated bug with high attack complexity, full confidentiality loss across a scope change, no integrity loss, and low availability impact - consistent with a blind or constrained SQL injection that can exfiltrate data but does not directly enable arbitrary writes. The AC:H rating suggests non-trivial conditions (likely a specific query path, payload shape, or DB engine behaviour) rather than a one-shot injection, which somewhat tempers the unauthenticated reachability. There is no CISA KEV listing, no EPSS score provided, and no public POC referenced beyond the Patchstack advisory, so this currently reads as a high-severity but not yet mass-exploited issue; the WPGraphQL plugin's large WordPress footprint nevertheless means automated scanning is plausible once details circulate. EPSS data is missing from the input, so probability of near-term exploitation cannot be quantitatively asserted.

Exploit ScenarioDerived

A remote attacker discovers a WordPress site exposing the /graphql endpoint provided by a vulnerable WPGraphQL install and crafts a malicious GraphQL query whose argument is concatenated into a backend SQL statement. By using time-based or boolean-based blind techniques against the vulnerable parameter, the attacker extracts wp_users password hashes and secret keys from the database without ever authenticating. No public POC has been published at the time of analysis, but the bug class and AV:N/PR:N profile make development of one straightforward once query details are known.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 15, 2026

Unauthenticated SQL injection in the WPGraphQL WordPress plugin versions prior to 2.11.1 allows remote attackers to inject SQL through the plugin's GraphQL interface without any credentials. The flaw, tracked by Patchstack and assigned CVSS 7.5 with a scope-change impact, can lead to disclosure of database contents and partial availability impact on affected WordPress sites. No public exploit identified at time of analysis, but the unauthenticated nature and broad install base of WPGraphQL make patching urgent.

RemediationAI

Upgrade the WPGraphQL plugin to version 2.11.1 or later, which is the vendor-released patch referenced in the Patchstack advisory at https://patchstack.com/database/wordpress/plugin/wp-graphql/vulnerability/wordpress-wpgraphql-plugin-2-11-1-sql-injection-vulnerability. If immediate upgrade is not possible, deactivate the WPGraphQL plugin entirely (this will break any application, headless front end, or integration that depends on the /graphql endpoint), or restrict access to the GraphQL endpoint via web server / WAF rules - for example, blocking POST and GET requests to /graphql from untrusted networks or requiring authentication at the reverse proxy (this will also block any legitimate public GraphQL consumers). A WAF rule blocking common SQL injection payload patterns in GraphQL request bodies is a partial control but is unreliable for blind injection. After patching, audit WordPress access logs for unusual GraphQL queries and consider rotating any secrets stored in the WordPress database that could have been exfiltrated.

Affected VersionsENISA

WPGraphQL n/a <2.11.1

Affected Packages

euvd wpgraphql_n_a fix: 2.11.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

WPGraphQL is a widely deployed WordPress plugin that exposes site data via a GraphQL API endpoint (typically /graphql) and translates GraphQL queries into WordPress database operations through wpdb. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), meaning user-controlled input from a GraphQL query, argument, or filter is concatenated into a SQL statement without proper sanitization or parameterization. Because GraphQL resolvers in WPGraphQL ultimately call into WordPress's $wpdb layer, an unsanitized argument can break out of its intended SQL context and execute attacker-controlled SQL against the WordPress database. The CPE cpe:2.3:a:wpgraphql:wpgraphql confirms the plugin itself (not WordPress core) is the affected component.

Know when Wpgraphql gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Patchstack) PRIMARY 7.5 HIGH
AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:L
vuln.today AI 7.5 HIGH

Network-reachable GraphQL endpoint with no auth (AV:N/PR:N/UI:N); AC:H reflects non-trivial injection path; SQLi reads DB across scope (S:C/C:H) with no confirmed write (I:N) and minor A:L.

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:L
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (Patchstack).

CVSS VectorVendor: Patchstack

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
Low

Lifecycle Timeline

1
Patch available
Jun 15, 2026 - 22:02 EUVD

DescriptionCVE.org

Unauthenticated SQL Injection in WPGraphQL < 2.11.1 versions.

Executive ViewAI

Why It Matters

WPGraphQL, a widely-used WordPress plugin for enabling GraphQL API access, contains an unauthenticated SQL injection vulnerability (CVE-2026-40762, CVSS 7.5) that allows attackers to extract sensitive database contents without credentials or authentication. Any WordPress site running versions prior to 2.11.1 faces immediate risk of unauthorized data exposure, including customer information and operational records stored in the database. The combination of broad plugin adoption and the absence of authentication barriers makes this a critical patching priority for all affected organizations.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 84% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2019-9879 CRITICAL POC
9.8 Jun 10

The WPGraphQL 0.2.3 plugin for WordPress allows remote attackers to register a new user with admin privileges, whenever

CVE-2019-9880 CRITICAL POC
9.1 Jun 10

An issue was discovered in the WPGraphQL 0.2.3 plugin for WordPress. Rated critical severity (CVSS 9.1), this vulnerabil

CVE-2021-47959 HIGH POC
8.7 May 15

WordPress Plugin WPGraphQL 1.3.5 contains a denial of service vulnerability that allows unauthenticated attackers to exh

CVE-2019-9881 MEDIUM POC
5.3 Jun 10

The createComment mutation in the WPGraphQL 0.2.3 plugin for WordPress allows unauthenticated users to post comments on

CVE-2026-119702 MEDIUM
6.9 Oct 30

Unauthenticated callers can create comments on WordPress content they are not allowed to see through the createComment G

CVE-2026-119701 MEDIUM
6.9 Oct 30

Unauthenticated email flooding in WPGraphQL 2.24.0 and earlier lets a remote attacker send roughly a thousand password r

CVE-2026-119700 MEDIUM
6.9 Oct 30

WPGraphQL 2.24.0 and earlier leak object existence through four GraphQL write mutations - deleteMediaItem, updateMediaIt

CVE-2026-119699 MEDIUM
6.9 Oct 30

Unbounded automatic persisted-query storage in WPGraphQL Smart Cache 2.3.2 and earlier lets unauthenticated remote attac

CVE-2025-68604 MEDIUM
5.4 May 07

Cross-site request forgery (CSRF) in WPGraphQL plugin versions up to 2.5.3 allows unauthenticated attackers to perform u

CVE-2026-109703 MEDIUM
5.3 Oct 13

Unauthenticated retrieval of embedded sensitive data is possible on WordPress sites running the WPGraphQL plugin through

CVE-2023-23684 MEDIUM
4.4 Nov 13

Server-Side Request Forgery (SSRF) vulnerability in WPGraphQL.14.5. Rated medium severity (CVSS 4.4), this vulnerability

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy