CVEBrief

Home / apollographql / federation / CVE-2024-43414

CVE-2024-43414: is it exploited, and which versions of apollographql federation are affected and fixed?

CVE-2024-43414 is an uncontrolled recursion vulnerability in apollographql federation. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: apollo-router before 1.52.1, @apollo/query-planner from 2.0.0 before 2.8.5 and @apollo/gateway from 2.0.0 before 2.8.5 (GitHub advisory GHSA-fmj9-77q8-g6c4). Fixed in 1.52.1 and 2.8.5 (GitHub advisory GHSA-fmj9-77q8-g6c4). Severity: High (7.5, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:27 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 18:09 UTC
Affected
apollo-router before 1.52.1, @apollo/query-planner from 2.0.0 before 2.8.5 and @apollo/gateway from 2.0.0 before 2.8.5
GitHub advisory GHSA-fmj9-77q8-g6c4
Fixed in
1.52.1 and 2.8.5
GitHub advisory GHSA-fmj9-77q8-g6c4
Severity
High 7.5
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
0.99% in 30 days
higher than 64% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2024-43414?

Apollo Query Planner and Apollo Gateway may infinitely loop on sufficiently complex queries

Apollo Federation is an architecture for declaratively composing APIs into a unified graph. Each team can own their slice of the graph independently, empowering them to deliver autonomously and incrementally. Instances of @apollo/query-planner >=2.0.0 and <2.8.5 are impacted by a denial-of-service vulnerability. @apollo/gateway versions >=2.0.0 and < 2.8.5 and Apollo Router <1.52.1 are also impacted through their use of @apollo/query-panner. If @apollo/query-planner is asked to plan a sufficiently complex query, it may loop infinitely and never complete. This results in unbounded memory consumption and either a crash or out-of-memory (OOM) termination. This issue can be triggered if you have at least one non-@key field that can be resolved by multiple subgraphs. To identify these shared fields, the schema for each subgraph must be reviewed. The mechanism to identify shared fields varies based on the version of Federation your subgraphs are using. You can check if your subgraphs are using Federation 1 or Federation 2 by reviewing their schemas. Federation 2 subgraph schemas will contain a @link directive referencing the version of Federation being used while Federation 1 subgraphs will not. For example, in a Federation 2 subgraph, you will find a line like @link(url: "https://specs.apollo.dev/federation/v2.0"). If a similar @link directive is not present in your subgraph schema, it is using Federation 1. Note that a supergraph can contain a mix of Federation 1 and Federation 2 subgraphs. This issue results from the Apollo query planner attempting to use a Number exceeding Javascript’s Number.MAX_VALUE in some cases. In Javascript, Number.MAX_VALUE is (2^1024 - 2^971). When the query planner receives an inbound graphql request, it breaks the query into pieces and for each piece, generates a list of potential execution steps to solve the piece. These candidates represent the steps that the query planner will take to satisfy the pieces of the larger query. As part of normal operations, the query planner requires and calculates the number of possible query plans for the total query. That is, it needs the product of the number of query plan candidates for each piece of the query. Under normal circumstances, after generating all query plan candidates and calculating the number of all permutations, the query planner moves on to stack rank candidates and prune less-than-optimal options. In particularly complex queries, especially those where fields can be solved through multiple subgraphs, this can cause the number of all query plan permutations to balloon. In worst-case scenarios, this can end up being a number larger than Number.MAX_VALUE. In Javascript, if Number.MAX_VALUE is exceeded, Javascript represents the value as “infinity”. If the count of candidates is evaluated as infinity, the component of the query planner responsible for pruning less-than-optimal query plans does not actually prune candidates, causing the query planner to evaluate many orders of magnitude more query plan candidates than necessary. This issue has been addressed in @apollo/query-planner v2.8.5, @apollo/gateway v2.8.5, and Apollo Router v1.52.1. Users are advised to upgrade. This issue can be avoided by ensuring there are no fields resolvable from multiple subgraphs. If all subgraphs are using Federation 2, you can confirm that you are not impacted by ensuring that none of your subgraph schemas use the @shareable directive. If you are using Federation 1 subgraphs, you will need to validate that there are no fields resolvable by multiple subgraphs.

From the CVE record by GitHub_M, last updated August 27, 2024, 17:58 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
apollographqlfederation>= 2.0.0, < 2.8.5
< 1.52.1

As the CVE record by GitHub_M states it, last updated August 27, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
crates.ioapollo-router< 1.52.11.52.1GHSA-fmj9-77q8-g6c4
npm@apollo/query-planner>= 2.0.0, < 2.8.52.8.5GHSA-fmj9-77q8-g6c4
npm@apollo/gateway>= 2.0.0, < 2.8.52.8.5GHSA-fmj9-77q8-g6c4

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 13, 2024. Summary: Apollo Query Planner and Apollo Gateway may infinitely loop on sufficiently complex queries.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
apollographqlapollo-routerbefore 1.52.1application
apollographqlapollo gatewayfrom 2.0.0 before 2.8.5application
apollographqlapollo helms-charts routerbefore 1.52.1application
apollographqlapollo query-plannerfrom 2.0.0 before 2.8.5application
apollographqlapollo routerbefore 1.52.1application

NVD analysis (status Analyzed), last modified June 17, 2026, 07:50 UTC.

How severe is CVE-2024-43414?

ScoreVersionVectorSource
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HGitHub_M
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2024-43414 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, August 27, 2024)
EPSS
0.99% probability of exploitation activity in the next 30 days, percentile 63.6 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
August 12, 2024
Published
August 27, 2024, 17:20 UTC
CVE record updated
August 27, 2024, 17:58 UTC by GitHub_M
NVD
Analyzed, last modified June 17, 2026, 07:50 UTC
Last checked
CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:27 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect federation?

Every CVE in federation

Questions about CVE-2024-43414

Is CVE-2024-43414 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.99% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of apollographql federation are affected by CVE-2024-43414?

apollo-router before 1.52.1, @apollo/query-planner from 2.0.0 before 2.8.5 and @apollo/gateway from 2.0.0 before 2.8.5, per the GitHub advisory GHSA-fmj9-77q8-g6c4. The tables above give every range the sources list.

Which version fixes CVE-2024-43414?

1.52.1 and 2.8.5, per the GitHub advisory GHSA-fmj9-77q8-g6c4. Check the vendor's advisory before you rely on it.

How severe is CVE-2024-43414?

High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2024-43414?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.