SecurityContext

CVE-2025-32031: Apollo Gateway - Denial of Service

  • Cve: CVE-2025-32031
  • Name: Apollo Gateway - Denial of Service
  • 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.
  • Impact: Attackers can cause resource exhaustion leading to denial of service, rendering the gateway inoperable.
  • Remediation: Upgrade to @apollo/gateway version 2.10.1 or later.
  • Vulnerability type: denial_of_service
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00603
  • Epss percentile: 0.49799
  • Assignee: [email protected]
  • Published at: 2025-04-07T21:15:43Z
  • Age in days: 596
  • Modified at: 2026-06-17T09:11:21Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-32031
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-770Allocation of Resources Without Limits or Throttling

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/apollographql/federation/pull/3236Issue Tracking, Patch
https://github.com/apollographql/federation/security/advisories/GHSA-p2q6-pwh5-m6jrVendor Advisory
https://github.com/apollographql/federation/releases/tag/%40apollo%2Fgateway%402.10.1Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
apollographql:apollo_gateway< 2.10.1nonvd/v1/products/apollographql/apollo_gateway

Projects

RepositoryLink kindsIndexedUrl
apollographql/federationpackage, pull, releases, security_advisoryyes/v1/repositories/apollographql/federation

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts