RubySec

Providing security resources for the Ruby community

GHSA-qv9r-jc8m-v7ph (graphql): Fragment spreads can cause exponential work in validation, analysis, execution and lookahead

Fragment spreads can cause exponential work in validation, analysis, execution and lookahead

Published: November 09, 2026

SECURITY IDENTIFIERS

GEM

graphql

SEVERITY

CVSS v3.x: 7.5 (High)

UNAFFECTED VERSIONS

< 2.0.0

PATCHED VERSIONS

>= 2.6.15

DESCRIPTION

A crafted configuration of fragment spreads can make graphql-ruby do work that doubles with every layer of fragments. This configuration doesn't require a large query or a high "complexity" score. Multiple components of GraphQL-Ruby were subject to this issue.

RELATED