Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. webonyx/graphql-php
  4. ›
  5. GHSA-fc86-6rv6-2jpm

GHSA-fc86-6rv6-2jpm: webonyx/graphql-php has quadratic validation cost in OverlappingFieldsCanBeMerged via inline fragments

May 4, 2026

OverlappingFieldsCanBeMerged validation rule has O(n^2 x m^2) worst case via flattened inline fragments. The CVE-2023-26144 named-fragment cache does not cover inline fragments. A 364 KB query (200 outer x 100 inner inline fragments) consumes 117 seconds of CPU per request, with no comparison budget and no validation timeout.

References

  • github.com/advisories/GHSA-9pv7-vfvm-6vr7
  • github.com/advisories/GHSA-fc86-6rv6-2jpm
  • github.com/advisories/GHSA-p4qx-6w5p-4rj2
  • github.com/graphql/graphql-js/issues/2185
  • github.com/sangria-graphql-org/sangria/pull/12
  • github.com/webonyx/graphql-php
  • github.com/webonyx/graphql-php/commit/996adcfce33442f6fc01214777bc8620cc142d85
  • github.com/webonyx/graphql-php/releases/tag/v15.32.2
  • github.com/webonyx/graphql-php/security/advisories/GHSA-fc86-6rv6-2jpm
  • spec.graphql.org/October2021/

Code Behaviors & Features

Detect and mitigate GHSA-fc86-6rv6-2jpm with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 15.32.2

Fixed versions

  • 15.32.2

Solution

Upgrade to version 15.32.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-407: Inefficient Algorithmic Complexity

Source file

packagist/webonyx/graphql-php/GHSA-fc86-6rv6-2jpm.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 06 May 2026 00:18:31 +0000.