Skip to main content

CVE-2026-107376: CWE-674: Uncontrolled Recursion in webonyx graphql-php

0
High
VulnerabilityCVE-2026-107376cvecve-2026-107376cwe-674
Published: 10/08/2026 (10/08/2026, 17:49:57 UTC)
Source: CVE Database V5
Vendor/Project: webonyx
Product: graphql-php

Description

webonyx graphql-php is a PHP implementation of the GraphQL specification. Prior to 15.32.3, GraphQL\Language\Parser performs recursive descent without a recursion limit in parseSelectionSet, parseValueLiteral, and parseTypeReference. A remote attacker can submit deeply nested selection sets, object or list values, or list types that exhaust the PHP process stack during pre-validation parsing, before query validation and complexity controls run. The resulting SIGSEGV can terminate PHP-FPM workers or long-running Swoole, RoadRunner, ReactPHP, or CLI processes and cannot be caught by application-level exception handling. This issue is fixed in version 15.32.3.

CVSS v3.1

Score 8.2high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

Affected software

webonyx

graphql-php

Affected versions
<15.32.3
Packagistmore threats →ai
webonyx/graphql-php
pkg:composer/webonyx/graphql-php
Affected versions
<15.32.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/08/2026, 18:03:45 UTC

Technical Analysis

The webonyx graphql-php library versions before 15.32.3 have an uncontrolled recursion vulnerability (CWE-674) in the GraphQL\Language\Parser class. Specifically, the methods parseSelectionSet, parseValueLiteral, and parseTypeReference perform recursive descent parsing without limiting recursion depth. An attacker can exploit this by submitting deeply nested selection sets, object or list values, or list types, causing the PHP process stack to overflow and crash the PHP process with a SIGSEGV. This occurs during pre-validation parsing, before any query validation or complexity checks, and cannot be handled by application-level exception mechanisms. The issue is resolved in version 15.32.3.

Potential Impact

Exploitation of this vulnerability can cause denial of service by crashing PHP-FPM workers or long-running PHP processes such as those running under Swoole, RoadRunner, ReactPHP, or CLI. This disrupts service availability and requires process restarts. There is no impact on confidentiality or data integrity as per the provided data. The crash cannot be caught or mitigated by application-level exception handling.

Mitigation Recommendations

Upgrade to webonyx graphql-php version 15.32.3 or later, where this uncontrolled recursion vulnerability is fixed. No other mitigation is indicated or required as the fix addresses the root cause.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-10-07T21:07:54.987Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ac7d8742cdf04f6562d26b9

Added to database: 10/08/2026, 17:52:52 UTC

Last enriched: 10/08/2026, 18:03:45 UTC

Last updated: 10/08/2026, 20:36:54 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses