CVE-2026-40762: WPGraphQL SQL injection in WordPress plugin

CVE-2026-40762 · Severity: high · CVSS 7.5 · Published 2026-06-15

WPGraphQL is a popular WordPress plugin that provides a GraphQL API for interacting with site data. A security flaw allows unauthenticated attackers to perform SQL injection, which could lead to the theft of sensitive information from the website's database. This vulnerability poses a significant risk as it can be exploited remotely without any login credentials, potentially impacting site operations and data privacy.

Technologies: WPGraphQL. Vendors: WPGraphQL.

Quick answers

Is CVE-2026-40762 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-40762 being exploited in the wild.
How severe is CVE-2026-40762?
High severity, with a CVSS score of 7.5, published 15 June 2026.
Which products and versions are affected?
WPGraphQL < 2.11.1.
Is there a fix for CVE-2026-40762?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-40762 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-40762?
Check whether you run WPGraphQL at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A SQL injection vulnerability exists in the WPGraphQL plugin for WordPress in versions prior to 2.11.1. The flaw is classified as CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) and can be exploited by an unauthenticated attacker over the network. While the CVSS vector indicates high complexity (AC:H), a successful exploit allows the attacker to directly query the database, potentially leading to unauthorized data exfiltration. The vulnerability was addressed in version 2.11.1.

Affected products

  • WPGraphQL WPGraphQL < 2.11.1

Timeline

  • 2026-02-27: other: Vulnerability reported by researcher daroo
  • 2026-04-21: advisory: Patchstack published advisory details
  • 2026-06-15: disclosed: NVD published the CVE record

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.