CVE-2025-64530
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedApollo 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceApollo Federation's composition logic allowed access control directives on interface types/fields to be bypassed via inline fragments querying implementing object types instead. Versions before 2.9.5/2.10.4/2.11.5/2.12.1 incorrectly permitted user-defined access control directives on interfaces that could be circumvented in Apollo Router.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Apollo Federation/Router versionCheck the version of @apollo/federation, @apollo/subgraph, or Apollo Router in your project dependencies (package.json, lock file, or running 'npm list @apollo/federation' / 'npm list @apollo/subgraph' / 'npm list @apollo/router')Affected if The installed version is earlier than 2.9.5, 2.10.4, 2.11.5, or 2.12.1 (specifically any version < 2.12.1 if using 2.12.x line, < 2.11.5 if using 2.11.x, < 2.10.4 if using 2.10.x, or < 2.9.5 for earlier 2.x versions)
-
Locate schema definition filesFind your supergraph schema or subgraph schema SDL files (typically in your Federation configuration, router configuration, or build artifacts)Affected if You have GraphQL schema files using Apollo Federation
-
Identify access control directives on interfacesSearch schema files for custom access control directives (such as '@requiresScopes', '@authorized', or any custom @directive) applied to interface type definitions or interface field definitionsAffected if Schema contains access control directives on interface types or interface fields (not just on object types)
-
Check for inline fragment usage on implementing typesReview your GraphQL operations or query patterns for inline fragments that query implementing object types directly (e.g., { ... on User { field } } where User implements an interface that has the access control directive)Affected if Client queries use inline fragments to access fields on object types that implement interfaces which have access control directives applied
-
Verify Router uses unpatched compositionCheck Apollo Router configuration or build pipeline to confirm the composition version used; look at supergraph generation timestamp and Federation package versions in useAffected if Supergraph was composed using an unpatched Federation version and clients can submit inline fragment queries against implementing object types
You are affected if using Apollo Federation/Router versions before 2.9.5/2.10.4/2.11.5/2.12.1 AND your schema has access control directives on interface types/fields AND client queries use inline fragments to bypass those directives on implementing object types.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUsers with unpatched composition or Federation 2.8 and below must manually duplicate access control directives from interface types/fields to each implementing object type/field; do not remove them from interfaces as unpatched composition won't regenerate them.
Apollo Federation versions 2.9.5, 2.10.4, 2.11.5, or 2.12.1
- 1. Identify your current Apollo Federation composition version by checking your project dependencies or Apollo Studio build pipeline settings
- 2. If using Apollo Rover, upgrade to a fixed version: 2.9.5, 2.10.4, 2.11.5, or 2.12.1. If using Apollo Studio build pipeline, ensure you are on Federation version 2.9 or above
- 3. After upgrading, manually migrate any user-defined access control directives (@authenticated, @requiresScopes, @policy) from interface types/fields to each implementing object type/field that can be queried via inline fragments
- 4. Keep the access control directives on the interface types/fields in your source schema; do not remove them, as unpatched composition versions will not automatically generate them in the supergraph
- 5. Regenerate your supergraph schema using the patched composition version
- 6. Verify that access control is enforced correctly by testing queries through Apollo Router using inline fragments on implementing types
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation8.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,800.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-64530 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-64530 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data