CVE-2026-40476
Low
Low
Medium
High
Critical
CVSS Score
Vulnerability Description
graphql-go is a Go implementation of GraphQL. In versions 15.31.4 and below, the OverlappingFieldsCanBeMerged validation rule performs O(n²) pairwise comparisons of fields sharing the same response name. An attacker can send a query with thousands of repeated identical fields, causing excessive CPU usage during validation before execution begins. This is not mitigated by existing QueryDepth or QueryComplexity rules. This issue has been fixed in version 15.31.5.
Severity Details
out of 10.0
Low
Weakness Type (CWE)
CWE-407
Inefficient Algorithmic Complexity
- Description
- An algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached.
- Exploit Likelihood
- Low
- Typical Severity
- Medium
- Abstraction Level
- Class
Key Information
- Published Date
- April 17, 2026
