Fragment spreads can cause exponential work in validation, analysis, execution and lookahead
Published: November 09, 2026
SECURITY IDENTIFIERS
- GHSA: GHSA-qv9r-jc8m-v7ph
- Vendor Advisory: https://github.com/rmosolgo/graphql-ruby/security/advisories/GHSA-qv9r-jc8m-v7ph
GEM
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.
