Home / Advisories / CVE-2026-40476 CVE-2026-40476: graphql-php is affected by a Denial of Service via quadratic complexity in OverlappingFieldsCanBeMerged validation high Affects webonyx/graphql-php . Feed 2026.11.23.2, updated 2026-11-23; published 2026-04-14 ; advisory modified 2026-09-10 .
graphql-php is affected by a Denial of Service via quadratic complexity in OverlappingFieldsCanBeMerged validation Package webonyx/graphql-php Composer Affected versions <15.31.5Fixed in 15.31.5Severity high CVSS 7.5 Exploitation not on CISA KEV · EPSS 1% (60.1th percentile) Published 2026-04-14 Source osv.dev References Quick answers Is CVE-2026-40476 being actively exploited?
It is not on CISA's Known Exploited Vulnerabilities list today.
Which version fixes CVE-2026-40476?
webonyx/graphql-php: 15.31.5.
How do I check whether I am affected?
Run `phpwarden deps composer.lock`. phpwarden checks the exact version you have installed against this advisory.
Am I affected? Find out in one command. phpwarden checks your composer.lock against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.
# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock
# or, without Composer
pipx install phpwarden && phpwarden deps composer.lockOr keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command
Install docs How findings are ranked Related advisories CVE-2026-107376 high webonyx/graphql-php has unbounded recursion in parser that causes stack overflow on crafte same package: webonyx/graphql-php GHSA-fc86-6rv6-2jpm high webonyx/graphql-php has quadratic validation cost in OverlappingFieldsCanBeMerged via inli same package: webonyx/graphql-php CVE-2026-71488 high league/commonmark: Quadratic-time denial of service when parsing crafted Markdown same weakness: CWE-407 CVE-2026-86429 high league/commonmark: Denial of service in the SmartPunct and Attributes extensions same weakness: CWE-407 CVE-2026-86434 high league/commonmark: Denial of service via colliding heading slugs same weakness: CWE-407 CVE-2026-86428 high league/commonmark: Denial of service via distinctly-named attributes in the Attributes ext same weakness: CWE-407