CVE-2026-40476

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:webonyx:graphql-php:*:*:*:*:*:*:*:*

History

26 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) graphql-go es una implementación de GraphQL en Go. En las versiones 15.31.4 e inferiores, la regla de validación OverlappingFieldsCanBeMerged realiza comparaciones por pares O(n²) de campos que comparten el mismo nombre de respuesta. Un atacante puede enviar una consulta con miles de campos idénticos repetidos, causando un uso excesivo de la CPU durante la validación antes de que comience la ejecución. Esto no se mitiga por las reglas existentes de QueryDepth o QueryComplexity. Este problema ha sido solucionado en la versión 15.31.5.

Information

Published : 2026-04-17 22:16

Updated : 2026-10-26 21:10


NVD link : CVE-2026-40476

Mitre link : CVE-2026-40476

CVE.ORG link : CVE-2026-40476


JSON object : View

Products Affected

webonyx

  • graphql-php
CWE
CWE-407

Inefficient Algorithmic Complexity