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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2025-04-07T19:03:10.000Z
- Modified: 2026-06-17T09:11:21.007Z
- Also known as: GHSA-q2f9-x4p4-7xmh
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- apollographql federation: < 2.10.1
- @apollo/gateway (npm): before 2.10.1
- apollographql apollo_gateway: before 2.10.1

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/apollographql/federation/security/advisories/GHSA-q2f9-x4p4-7xmh> (vendor-advisory, web)
- <https://github.com/apollographql/federation/pull/3236> (issue-tracking, patch, web)
- <https://github.com/apollographql/federation/releases/tag/%40apollo%2Fgateway%402.10.1> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-32030> (advisory)
- <https://github.com/apollographql/federation> (package)

## Sources

- CVE List: [CVE-2025-32030](https://www.cve.org/CVERecord?id=CVE-2025-32030), CVE Terms of Use, modified 2025-04-08
- GitHub Advisory Database: [GHSA-q2f9-x4p4-7xmh](https://github.com/advisories/GHSA-q2f9-x4p4-7xmh), CC-BY-4.0, modified 2025-04-08
- NVD: [CVE-2025-32030](https://nvd.nist.gov/vuln/detail/CVE-2025-32030), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-32030 · Whole record: https://cve.day/CVE-2025-32030.json · Rebuilt by cve.day 2026-11-25T22:58:56.169Z
