RubySec

Providing security resources for the Ruby community

GHSA-wc34-88mf-j95m (graphql): Bypass max_complexity (in "legacy" mode)

Bypass max_complexity (in "legacy" mode)

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

With the default complexity_cost_calculation_mode (:legacy), a client can bypass max_complexity by adding one connection field by using crafted inputs. The query runs at a cost far above the limit.

RELATED