Skip to main content
← All vulnerabilities
CVE-2025-32032GHSA-94HH-JMQ8-2FGP

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.61.2, 2.1.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

The Apollo Router Core is a configurable, high-performance graph router written in Rust to run a federated supergraph that uses Apollo Federation 2. A vulnerability in Apollo Router 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 exhaust router's thread pool, rendering it inoperable. This could lead to excessive resource consumption and denial of service. This has been remediated in apollo-router versions 1.61.2 and 2.1.1.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • apollographql router

    fixed in 1.61.2; From 2.0.0-alpha.0 · fixed in 2.1.1

  • apollo-routercrates.io

    fixed in 1.61.2

  • apollo-routercrates.io

    From 2.0.0-alpha.0 · fixed in 2.1.1

References 3

GitHub · apollographql/router