Intel

AIKIDO-2026-100091

apollo-federation is vulnerable to Information Disclosure

Information DisclosureGHSA-6p7q-4gq4-4vf7 Published 5 days ago

53

Medium Risk

This Affects:

RUSTapollo-federation
2.16.0 - 2.16.0
Fixed in 2.16.1
Are you affected? Scan for Free

TL;DR

Apollo Router validates the structure of a supergraph schema when it loads it, but does not validate that the GraphQL values embedded in that schema are valid for it. Native composition can produce a supergraph in which a field-argument default value references an @inaccessible input-object field, and the router accepts it without error while API schema validation still passes. The value of the @inaccessible field is then exposed to clients through the computed API schema and introspection, defeating the concealment the directive is meant to provide. The fix validates GraphQL values during composition so defaults referencing inaccessible input fields no longer leak.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your supergraph applies @inaccessible to input-object fields that are referenced by GraphQL argument default values.

Background info

apollo-federation is vulnerable to Information Disclosure in versions 2.16.0 - 2.16.0.

How to fix this

Upgrade the apollo-federation and/or the apollo-router library to the patch version.