RubySec

Providing security resources for the Ruby community

GHSA-5f8h-c2xc-j37j (graphql): Crafted query strings can cause exponential backtracking in the Ruby lexer on older Rubies

Crafted query strings can cause exponential backtracking in the Ruby lexer on older Rubies

Published: November 17, 2026

SECURITY IDENTIFIERS

GEM

graphql

SEVERITY

CVSS v3.x: 5.3 (Medium)

UNAFFECTED VERSIONS

<= 2.0.18

PATCHED VERSIONS

>= 2.6.16

DESCRIPTION

Certain invalid query constructions could result in exponential CPU consumption on older Rubies (<= 3.2.x). Newer Rubies are not vulnerable.

RELATED