Skip to main content
← All vulnerabilities
CVE-2026-40476GHSA-68JQ-C3RV-PCRR

graphql-php: Denial of Service via quadratic complexity in OverlappingFieldsCanBeMerged validation

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 15.31.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • webonyx graphql-php

    fixed in 15.31.5

  • webonyx/graphql-phpPackagist

    fixed in 15.31.5

References 2

GitHub · webonyx/graphql-php