apollo-router is vulnerable to Improper Access Control
53
Medium Risk
Apollo Router validates GraphQL variable values during coercion against the internal supergraph schema instead of the client-facing API schema. A client can reference an @inaccessible input-object field or supply an @inaccessible enum value through a variable and have it accepted and forwarded to the responsible subgraph, even though the same reference is rejected when written directly in the operation document. This bypasses the access-control boundary that @inaccessible is meant to enforce on operation inputs, and strict_variable_validation does not mitigate it. The fix validates variable coercion against the API schema and rejects input-object variable fields that are not part of the public schema.
You are affected if you are using a version that falls within the vulnerable range and you use @inaccessible on input-object fields or enum values.
apollo-router is vulnerable to Improper Access Control in versions 0.0.1 - 2.10.4 and 2.11.0 - 2.16.0.
Upgrade the apollo-router 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