製品・ソフトウェアに関する情報
WebOnyxのgraphql-phpにおけるアルゴリズムの複雑さに関する脆弱性
Title WebOnyxのgraphql-phpにおけるアルゴリズムの複雑さに関する脆弱性
Summary

graphql-goはGraphQLのGoによる実装です。バージョン15.31.4以下では、OverlappingFieldsCanBeMerged検証ルールが同じレスポンス名を共有するフィールドのペアごとにO(n^2)の比較を行います。攻撃者は何千もの同一フィールドを繰り返すクエリを送信することで、実行開始前の検証中に過剰なCPU使用率を引き起こす可能性があります。この問題は既存のQueryDepthやQueryComplexityルールでは軽減されません。この問題はバージョン15.31.5で修正されました。

Possible impacts 当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date April 17, 2026, midnight
Registration Date May 25, 2026, 10:25 a.m.
Last Update May 25, 2026, 10:25 a.m.
CVSS3.0 : 重要
Score 7.5
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected System
WebOnyx
graphql-php 15.31.5 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年05月25日]
  掲載
May 25, 2026, 10:25 a.m.

NVD Vulnerability Information
CVE-2026-40476
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.

Publication Date April 18, 2026, 7:16 a.m.
Registration Date April 19, 2026, 4:08 a.m.
Last Update April 21, 2026, 4:03 a.m.
Related information, measures and tools
Common Vulnerabilities List