Apollo Gateway Query Planner Vulnerable to Excessive Resource Consumption via Optimization Bypass
Published Apr 7, 2025
7.5
HIGHCVSS 3.1
EPSS 0.58%
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 due to internal optimizations being frequently bypassed. The query planner includes an optimization that significantly speeds up planning for applicable GraphQL selections. However, queries with deeply nested and reused named fragments can generate many selections where this optimization does not apply, leading to significantly longer planning times. Because the query planner does not enforce a timeout, a small number of such queries can render gateway inoperable. This could lead to excessive resource consumption and denial of service. This has been remediated in @apollo/gateway version 2.10.1.
Affected products
-
- Version < 2.10.1StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Apollographql | Federation | n/a |
|
- < 2.10.1
No data.
No Red Hat product state for this CVE.
@apollo/gateway
npm
Introduced 0 Fixed 2.10.1
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | @apollo/gateway | 0 | 2.10.1 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
YesTechnical Impact
PartialDecision
n/aAssessed Apr 8, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2025–2026- EPSS v4
- EPSS v5
Percentile over time
- EPSS v4
- EPSS v5
Table of values (3 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.58% (0.00581) | 45.74th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.49% (0.00488) | 37.96th | v5 (v2026.06.15) |
| Apr 8, 2025 | 0.04% (0.00038) | 8.20th | v4 (v2025.03.14) |
References (5)
- https://github.com/advisories/GHSA-p2q6-pwh5-m6jr Advisory
- https://github.com/apollographql/federation/pull/3236 x_refsource_MISCIssue TrackingPatch
- https://github.com/apollographql/federation/releases/tag/%40apollo%2Fgateway%402.10.1 x_refsource_MISCRelease Notes
- https://github.com/apollographql/federation/security/advisories/GHSA-p2q6-pwh5-m6jr x_refsource_CONFIRMVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-32031
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-p2q6-pwh5-m6jr | Advisory | |
| https://github.com/apollographql/federation/pull/3236 | x_refsource_MISCIssue TrackingPatch | |
| https://github.com/apollographql/federation/releases/tag/%40apollo%2Fgateway%402.10.1 | x_refsource_MISCRelease Notes | |
| https://github.com/apollographql/federation/security/advisories/GHSA-p2q6-pwh5-m6jr | x_refsource_CONFIRMVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-32031 |
Change history (0)
No recorded changes yet.