CVE Catalog

CVE-2026-40476

High
Published: Translated: NVD NIST

Summary

In versions 15.31.4 and below, the OverlappingFieldsCanBeMerged validation rule in graphql-go 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.

Risk Assessment

Excessive CPU usage can lead to server performance degradation, impacting service availability for users. Organizations may be vulnerable to DoS attacks that can disrupt application functionality.

Recommendation

It is recommended to upgrade to version 15.31.5 or later to mitigate this vulnerability. Additionally, monitoring GraphQL queries for unusual usage patterns is advisable.

Other vulnerabilities in graphql-go

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS