Execution::Next ignores analysis errors, variable errors, and unknown operation name errors when `validate: false`
Published: November 09, 2026
SECURITY IDENTIFIERS
- GHSA: GHSA-8wfw-p943-3jjp
- Vendor Advisory: https://github.com/rmosolgo/graphql-ruby/security/advisories/GHSA-8wfw-p943-3jjp
GEM
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.)
