CVE-2025-64530
Apollo Federation is an architecture for declaratively composing …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/apollographql/federation/security/advisories/GHSA-mx7m-j9xf-62hw
- nvd.nist.gov/vuln/detail/CVE-2025-64530
- github.com/apollographql/federation/pull/3340
- github.com/apollographql/federation/pull/3341
- github.com/apollographql/federation/pull/3343
- github.com/advisories/GHSA-mx7m-j9xf-62hw
- nvd.nist.gov/vuln/detail/CVE-2025-64530
- cve.org/CVERecord?id=CVE-2025-64530
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.