PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-40476 webonyx CVE debrief

A vulnerability in graphql-go, a Go implementation of GraphQL, allows for excessive CPU usage during validation of queries with thousands of repeated identical fields. This issue, fixed in version 15.31.5, affects graphql-php and has a CVSS score of 6.9. The vulnerability is caused by the OverlappingFieldsCanBeMerged validation rule performing O(n²) pairwise comparisons, allowing an attacker to cause excessive CPU usage with queries containing thousands of repeated fields. This is not mitigated by existing QueryDepth or QueryComplexity rules.

Vendor
webonyx
Product
graphql-php
CVSS
MEDIUM 6.9
CISA KEV
Not listed in stored evidence
Original CVE published
2026-04-17
Original CVE updated
2026-09-14
Advisory published
2026-04-17
Advisory updated
2026-09-14

Who should care

Defenders responsible for GraphQL deployments, particularly those using graphql-php, should assess exposure and prioritize updating to version 15.31.5 or later. This includes operators, platform administrators, vulnerability management teams, and security teams. They should review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance, and plan vendor-supported updates or mitigations through normal change控制.

Why it matters

Defenders should care about CVE-2026-40476 as it allows for potential denial-of-service attacks on graphql-php deployments via complex queries, necessitating updates and monitoring.

  • Potential for denial-of-service via excessive CPU usage
  • Need for verification of graphql-php version and query validation
  • Possible impact on system performance and availability

Technical summary

The OverlappingFieldsCanBeMerged validation rule in graphql-go performs O(n²) pairwise comparisons, allowing an attacker to cause excessive CPU usage with queries containing thousands of repeated fields. This is not mitigated by existing QueryDepth or QueryComplexity rules. The vulnerability affects graphql-php and has a CVSS score of 6.9. Defenders should prioritize verifying and updating graphql-php to version 15.31.5 or later, especially in systems handling GraphQL queries. The vulnerability can be exploited by sending a query with thousands of repeated identical fields, causing excessive CPU usage during validation before execution begins.

Defensive priority

Defenders should prioritize verifying and updating graphql-php to version 15.31.5 or later, especially in systems handling GraphQL queries.

Recommended defensive actions

  • Verify and update graphql-php to version 15.31.5 or later
  • Review and optimize GraphQL query validation and execution
  • Monitor for and restrict suspicious query patterns
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented

Evidence notes

The CVE record and NVD entry provide details on the vulnerability, its impact, and the fixed version. However, specific details about affected deployments or actual exploitation are not provided. The graphql-go library is used in various GraphQL implementations, including graphql-php, which is affected by this vulnerability. Defenders should verify the presence of graphql-go in their deployments and prioritize updating to version 15.31.5 or later.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-40476 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-40476

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-40476 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-40476

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.