graphql is vulnerable to Authorization Bypass
75
High Risk
GraphQL-Ruby's Execution::Next runtime does not halt execution when a field backed by GraphQL::Schema::Resolver or its subclasses (including GraphQL::Schema::Mutation, GraphQL::Schema::RelayClassicMutation, and GraphQL::Schema::Subscription) raises a GraphQL::UnauthorizedError. The resolver-thrown authorization failure is still treated as authorized, so the field or mutation continues to resolve and return data. This lets clients reach resolver and mutation logic that authorization checks should have blocked, while other forms of authorization still applied correctly. The fix marks resolver-raised UnauthorizedErrors as unauthorized so execution stops as intended.
You are affected if you are using a version that falls within the vulnerable range and your application uses the Execution::Next execution mode.
graphql is vulnerable to Authorization Bypass in versions 2.5.23 - 2.6.5.
Upgrade the graphql and/or the graphql-ruby library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant