Inefficient Algorithmic Complexity Affecting webonyx/graphql-php package, versions <15.31.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.49% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-WEBONYXGRAPHQLPHP-16066599
  • published15 Apr 2026
  • disclosed14 Apr 2026
  • creditAshwak N

Introduced: 14 Apr 2026

CVE-2026-40476  (opens in a new tab)
CWE-407  (opens in a new tab)

How to fix?

Upgrade webonyx/graphql-php to version 15.31.5 or higher.

Overview

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity through the OverlappingFieldsCanBeMerged validation process. An attacker can cause excessive CPU usage and resource exhaustion by submitting queries containing thousands of repeated fields with the same response name, leading to significant delays or timeouts during validation.

CVSS Base Scores

version 4.0
version 3.1