# CVE-2025-32030: Apollo Gateway Query Planner Vulnerable to Excessive Resource Consumption via Named Fragment Expansion

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.99% (percentile 61, 2026-11-26)
- **CWE:** CWE-770
- **Aliases:** GHSA-q2f9-x4p4-7xmh
- **Published:** 2025-04-07T19:03:10.000Z
- **Modified:** 2026-06-17T09:11:21.007Z

## Who should check

- Projects that depend on npm package @apollo/gateway (\< 2.10.1)
- Anyone running apollographql federation \< 2.10.1

## Description

Apollo Gateway provides utilities for combining multiple GraphQL microservices into a single GraphQL endpoint. Prior to 2.10.1, a vulnerability in Apollo Gateway allowed queries with deeply nested and reused named fragments to be prohibitively expensive to query plan, specifically during named fragment expansion. Named fragments were being expanded once per fragment spread during query planning, leading to exponential resource usage when deeply nested and reused fragments were involved. This could lead to excessive resource consumption and denial of service. This has been remediated in @apollo/gateway version 2.10.1.

## Affected and fixed versions

- npm `@apollo/gateway`: affected \< 2.10.1; fixed 2.10.1 (osv)
- apollographql federation: \< 2.10.1 (cvelist)

## Mitigation

- Upgrade @apollo/gateway to 2.10.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-32030. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-32030.md
Affected: @apollo/gateway < 2.10.1
Fixed in: 2.10.1

Steps:
1. Search this machine and project for @apollo/gateway (npm), apollographql federation: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-32030 being exploited?

There is no confirmed exploitation: CVE-2025-32030 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.99% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-32030?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-32030?

@apollo/gateway \< 2.10.1.

### Is there a fix for CVE-2025-32030?

Yes. Fixed in 2.10.1. Upgrade @apollo/gateway to 2.10.1 or later.

### How do I check if I'm affected by CVE-2025-32030?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/apollographql/federation/security/advisories/GHSA-q2f9-x4p4-7xmh>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-32030>
- patch: <https://github.com/apollographql/federation/pull/3236>
- other: <https://github.com/apollographql/federation/releases/tag/%40apollo%2Fgateway%402.10.1>
- other: <https://github.com/apollographql/federation>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-32030>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-q2f9-x4p4-7xmh> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-32030> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-32030>
