RubySec

Providing security resources for the Ruby community

GHSA-8wfw-p943-3jjp (graphql): Execution::Next ignores analysis errors, variable errors, and unknown operation name errors when `validate: false`

Execution::Next ignores analysis errors, variable errors, and unknown operation name errors when `validate: false`

Published: November 09, 2026

SECURITY IDENTIFIERS

GEM

graphql

SEVERITY

CVSS v3.x: 5.9 (Medium)

UNAFFECTED VERSIONS

< 2.5.21

PATCHED VERSIONS

>= 2.6.15

DESCRIPTION

With validate: false, Schema.execute_next (or use GraphQL::Execution::Next, as_default: true) runs queries that analysis or variable validation rejected. max_complexity, max_depth and other analyzer errors, invalid or missing variables, and unknown operation names are all ignored. (The legacy interpreter enforces all of them with validate: false.)

RELATED