@apollo/composition has Improper Enforcement of Access Control on Interface Types and Fields
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-288.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| apollographql | federation | before 2.9.5; 2.10.0-preview.0 to before 2.10.4; 2.11.0-preview.0 to before 2.11.5; >= 2.12.0-preview.0, 2.12.1 | 2.9.5, 2.10.4, 2.11.5 | Patch available | CNA |
| — | @apollo/composition (npm) | before 2.9.5 | 2.9.5 | Patch available | GHSA-mx7m-j9xf-62hw |
| — | @apollo/composition (npm) | 2.10.0-alpha.3 to before 2.10.4 | 2.10.4 | Patch available | GHSA-mx7m-j9xf-62hw |
| — | @apollo/composition (npm) | 2.11.0-preview.1 to before 2.11.5 | 2.11.5 | Patch available | GHSA-mx7m-j9xf-62hw |
| — | @apollo/composition (npm) | 2.12.0-preview.1 to before 2.12.1 | 2.12.1 | Patch available | GHSA-mx7m-j9xf-62hw |
- federation Vendorapollographql Affected before 2.9.5; 2.10.0-preview.0 to before 2.10.4; 2.11.0-preview.0 to before 2.11.5; >= 2.12.0-preview.0, 2.12.1 Fixed in 2.9.5, 2.10.4, 2.11.5 Patch available CNA
- @apollo/composition (npm) Vendor— Affected before 2.9.5 Fixed in 2.9.5 Patch available GHSA-mx7m-j9xf-62hw
- @apollo/composition (npm) Vendor— Affected 2.10.0-alpha.3 to before 2.10.4 Fixed in 2.10.4 Patch available GHSA-mx7m-j9xf-62hw
- @apollo/composition (npm) Vendor— Affected 2.11.0-preview.1 to before 2.11.5 Fixed in 2.11.5 Patch available GHSA-mx7m-j9xf-62hw
- @apollo/composition (npm) Vendor— Affected 2.12.0-preview.1 to before 2.12.1 Fixed in 2.12.1 Patch available GHSA-mx7m-j9xf-62hw
Remediation
- Fix · CNA federation (apollographql) Fixed in 2.9.5, 2.10.4, 2.11.5
- Fix · GHSA-mx7m-j9xf-62hw @apollo/composition (npm) Fixed in 2.9.5 Advisory →
- Fix · GHSA-mx7m-j9xf-62hw @apollo/composition (npm) Fixed in 2.10.4 Advisory →
- Fix · GHSA-mx7m-j9xf-62hw @apollo/composition (npm) Fixed in 2.11.5 Advisory →
- Fix · GHSA-mx7m-j9xf-62hw @apollo/composition (npm) Fixed in 2.12.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-64530
- 2026-10-03 Alias added: GHSA-mx7m-j9xf-62hw
References
More apollographql vulnerabilities
- TI-2024-21837 Defect in query plan cache may cause incorrect operations to be executed in Apollo Router CVSS 3.1CRITICAL 9.1
- TI-2024-29063 Apollo Query Planner and Apollo Gateway may infinitely loop on sufficiently complex queries CVSS 3.1HIGH 7.5
- TI-2026-19253 Apollo Server is vulnerable to denial of service with `startStandaloneServer` CVSS 3.1HIGH 7.5
- TI-2025-23158 Apollo Router Query Planner Vulnerable to Excessive Resource Consumption via Named Fragment Expansion CVSS 3.1HIGH 7.5
- TI-2025-23157 Apollo Router Operation Limits Vulnerable to Bypass via Integer Overflow CVSS 3.1HIGH 7.5
- TI-2025-23156 Apollo Router Query Planner Vulnerable to Excessive Resource Consumption via Optimization Bypass CVSS 3.1HIGH 7.5
Sources
- CVE-2025-64530 · CVE Program
- CVE-2025-64530 · NVD
- FIRST EPSS
- GHSA-mx7m-j9xf-62hw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences