{"id":"CVE-2025-32032","published":"2025-04-07T20:44:30Z","modified":"2025-04-08T14:52:25Z","title":"Apollo Router Query Planner Vulnerable to Excessive Resource Consumption via Optimization Bypass","vendor":"apollographql","product":"router","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00596,"percentile":0.49445,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/apollographql/router/security/advisories/GHSA-94hh-jmq8-2fgp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/apollographql/router/commit/ab6675a63174715ea6ff50881fc957831d4e9564","tags":["x_refsource_MISC"]},{"url":"https://github.com/apollographql/router/commit/bba032e183b861348a466d3123c7137a1ae18952","tags":["x_refsource_MISC"]}],"priority":{"score":15.1,"factors":[{"name":"EPSS percentile","points":9.89},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"apollographql","affectedVersions":[{"vendor":"apollographql","product":"router","versions":["< 1.61.2",">= 2.0.0-alpha.0, < 2.1.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-08T14:27:15.384286Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"apollo-router","vulnerableRanges":["<1.61.2",">=2.0.0-alpha.0, <2.1.1"],"patched":["1.61.2","2.1.1"],"from":["GHSA-94hh-jmq8-2fgp"],"provenance":"source"}],"summary":{"text":"The Apollo Router query planner (the router component of Apollo's GraphQL graph router, used to run federated supergraphs) fails to bypass its planning optimization for queries built from deeply nested and reused named fragments, and it enforces no planning timeout. An unauthenticated attacker with network access can send a small number of such queries, requiring no user interaction or special configuration, to exhaust the router's thread pool and make it inoperable, causing denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:40Z"},"euvd":{"id":"EUVD-2025-10287","exploited":false,"provenance":"source"}}