Intel

AIKIDO-2026-932755

apollo-router is vulnerable to Improper Access Control

Improper Access ControlGHSA-69r6-7hv4-h9f2 Published 6 days ago

53

Medium Risk

This Affects:

RUSTapollo-router
0.0.1 - 2.10.4
Fixed in 2.10.5
2.11.0 - 2.16.0
Fixed in 2.16.1
Are you affected? Scan for Free

TL;DR

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.

Who does this affect?

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.

Background info

apollo-router is vulnerable to Improper Access Control in versions 0.0.1 - 2.10.4 and 2.11.0 - 2.16.0.

How to fix this

Upgrade the apollo-router library to the patch version.