RubySec

Providing security resources for the Ruby community

GHSA-pjx7-wx97-6wf8 (graphql): Exponential backtracking in regular expression

Exponential backtracking in regular expression

Published: November 09, 2026

SECURITY IDENTIFIERS

GEM

graphql

SEVERITY

CVSS v3.x: 7.5 (High)

UNAFFECTED VERSIONS

< 1.0.1

PATCHED VERSIONS

>= 2.6.15

DESCRIPTION

Certain query string patterns led to exponential backtracking in the GraphQL-Ruby parser. This issue also affects graphql-c_parser because it used the same regular expression from GraphQL-Ruby.

RELATED