Vulnerability · Published Nov 13, 2025 · Assigned by GitHub_M
CVE-2025-64530@apollo/composition has Improper Enforcement of Access Control on Interface Types and Fields
High 7.5
In plain English
A high-severity authentication bypass in federation from apollographql. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Apollo Federation is an architecture for declaratively composing APIs into a unified graph. A vulnerability in versions of Apollo Federation's composition logic prior to 2.9.5, 2.10.4, 2.11.5, and 2.12.1 allowed some queries to Apollo Router to improperly bypass access controls on types/fields. Apollo Federation incorrectly allowed user-defined access control directives on interface types/fields, which could be bypassed by instead querying the implementing object types/fields in Apollo Router via inline fragments, for example. A fix to versions 2.9.5, 2.10.4, 2.11.5, and 2.12.1 of composition logic in Federation now disallows interfaces types and fields to contain user-defined access control directives. Some workarounds are available. Users of Apollo Rover with an unpatched composition version or are using the Apollo Studio build pipeline with Federation version 2.8 or below should manually copy the access control requirements on interface types/fields to each implementing object type/field where appropriate. Do not remove those access control requirements from the interface types/fields, as unpatched Apollo Composition will not automatically generate them in the supergraph schema. Customers not using Apollo Router access control features (`@authenticated`, `@requiresScopes`, or `@policy` directives) or not specifying access control requirements on interface types/fields are not affected and do not need to take action.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @apollo/composition | 2.9.5 | GHSA-mx7m-j9xf-62hw |
| npm | @apollo/composition | 2.10.4 | GHSA-mx7m-j9xf-62hw |
| npm | @apollo/composition | 2.11.5 | GHSA-mx7m-j9xf-62hw |
| npm | @apollo/composition | 2.12.1 | GHSA-mx7m-j9xf-62hw |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| apollographql | federation | < 2.9.5>= 2.10.0-preview.0, < 2.10.4>= 2.11.0-preview.0, < 2.11.5>= 2.12.0-preview.0, 2.12.1 |
Weakness: CWE-288 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N