CVE-2026-32621Apollo Federation has prototype pollution via incomplete key sanitization
Apollo Federation is an architecture for declaratively composing APIs into a unified graph. Prior to 2.9.6, 2.10.5, 2.11.6, 2.12.3, and 2.13.2, a vulnerability exists in query plan execution within the gateway that may allow pollution of Object.prototype in certain scenarios. A malicious client may be able to pollute Object.prototype in gateway directly by crafting operations with field aliases and/or variable names that target prototype-inheritable properties. Alternatively, if a subgraph were to be compromised by a malicious actor, they may be able to pollute Object.prototype in gateway by crafting JSON response payloads that target prototype-inheritable properties. This vulnerability is fixed in 2.9.6, 2.10.5, 2.11.6, 2.12.3, and 2.13.2.
What to do
Fixed builds are available from npm: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| npm library | @apollo/federation-internals | Fixed | 2.13.2 | GHSA-pfjj-6f4p-rvmh |
| npm library | @apollo/gateway | Fixed | 2.13.2 | GHSA-pfjj-6f4p-rvmh |
| npm library | @apollo/query-planner | Fixed | 2.13.2 | GHSA-pfjj-6f4p-rvmh |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- @apollo federation-internals: affected: >= 2.13.0-preview.0, < 2.13.2, >= 2.12.0-preview.0, < 2.12.3, >= 2.11.0-preview.0, < 2.11.6, >= 2.10.0-alpha.0, < 2.10.5, < 2.9.6
- @apollo gateway: affected: >= 2.13.0-preview.0, < 2.13.2, >= 2.12.0-preview.0, < 2.12.3, >= 2.11.0-preview.0, < 2.11.6, >= 2.10.0-alpha.0, < 2.10.5, < 2.9.6
- @apollo query-planner: affected: >= 2.13.0-preview.0, < 2.13.2, >= 2.12.0-preview.0, < 2.12.3, >= 2.11.0-preview.0, < 2.11.6, >= 2.10.0-alpha.0, < 2.10.5, < 2.9.6
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.