apollo-router is vulnerable to Information Disclosure
53
CVE Score
Medium
Information Disclosure
Apollo Router constructs validation error messages for GraphQL operations that use input-object–typed variables. When a client supplies an object field that is not defined on the input type, the returned VALIDATION_INVALID_TYPE_VARIABLE error embeds the full composed definition of that input type, including federation composition directives such as @join__type, @join__field, and @tag, along with the internal subgraph names they reference. An unauthenticated client can extract internal supergraph and composition metadata this way even when introspection is disabled and query-validation error redaction is configured. The fix stops the error message from embedding the composed schema definition.
Upgrade the apollo-router library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
2.12.0 - 2.16.0
Fixed in 2.16.1apollo-router is vulnerable to Information Disclosure in versions 2.12.0 - 2.16.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.