Incorrect authorization in graphql-ruby - #VU139374
Published: July 26, 2026
Vulnerability details
The vulnerability allows a remote user to bypass authorization checks.
The vulnerability exists due to improper authorization in Execution::Next when handling authorization failures raised by GraphQL::Schema::Resolver and its subclasses. A remote user can trigger a GraphQL::UnauthorizedError in an affected resolver to bypass authorization checks.
The issue affects fields using GraphQL::Schema::Resolver and its subclasses, including GraphQL::Schema::Mutation, GraphQL::Schema::RelayClassicMutation, and GraphQL::Schema::Subscription.