We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-32031

Apollo Gateway Query Planner Vulnerable to Excessive Resource Consumption via Optimization Bypass



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.

Reserved 2025-04-01 | Published 2025-04-07 | Updated 2025-04-08 | Assigner GitHub_M


HIGH: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Problem types

CWE-770: Allocation of Resources Without Limits or Throttling

Product status

< 2.10.1
affected

References

github.com/...ration/security/advisories/GHSA-p2q6-pwh5-m6jr

github.com/apollographql/federation/pull/3236

github.com/...federation/releases/tag/@apollo/gateway@2.10.1

cve.org (CVE-2025-32031)

nvd.nist.gov (CVE-2025-32031)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-32031

Support options

Helpdesk Chat, Email, Knowledgebase