Home

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.

PUBLISHED Reserved 2026-04-13 | Published 2026-04-17 | Updated 2026-04-20 | Assigner GitHub_M




MEDIUM: 6.9CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Problem types

CWE-407: Inefficient Algorithmic Complexity

Product status

< 15.31.5
affected

References

github.com/...ql-php/security/advisories/GHSA-68jq-c3rv-pcrr

github.com/webonyx/graphql-php/releases/tag/v15.31.5

cve.org (CVE-2026-40476)

nvd.nist.gov (CVE-2026-40476)

Download JSON