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

Source: https://junglewise.ai/threats/cve-2026-40762-wpgraphql-sql-injection-in-wordpress-plugin  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-15. Updated: 2026-06-15  
License: CC BY 4.0 with a link back

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](https://junglewise.ai/threats/technologies/wpgraphql). Vendors: [WPGraphQL](https://junglewise.ai/threats/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

- [https://patchstack.com/database/wordpress/plugin/wp-graphql/vulnerability/wordpress-wpgraphql-plugin-2-11-1-sql-injection-vulnerability?_s_id=cve](https://patchstack.com/database/wordpress/plugin/wp-graphql/vulnerability/wordpress-wpgraphql-plugin-2-11-1-sql-injection-vulnerability?_s_id=cve)

## Related threats

- [WPGraphQL createComment mutation missing authorization](https://junglewise.ai/threats/cve-2026-119702-wpgraphql-before-2-24-1-contains-a-missing-authorization)
- [WPGraphQL missing rate limiting in password reset email mutation](https://junglewise.ai/threats/cve-2026-119701-wpgraphql-before-2-24-1-contains-a-missing-rate-limiting)
- [WPGraphQL authorization bypass in updatePost mutation](https://junglewise.ai/threats/cve-2026-88974-wpgraphql-authorization-bypass-in-updatepost-mutation)
- [WPGraphQL user enumeration in SendPasswordResetEmail mutation](https://junglewise.ai/threats/cve-2026-54768-wpgraphql-user-enumeration-in-sendpasswordresetemail-mutation)
- [WPGraphQL WordPress plugin denial of service via batched queries](https://junglewise.ai/threats/cve-2021-47959-wpgraphql-wordpress-plugin-denial-of-service-via-batched-queries)
