CVE-2026-32621 — Vulnerability in @apollo/federation-internals
Apollo Federation vulnerable to prototype pollution via incomplete key sanitization
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.71%). Schedule for your next planned update.
Does your project use an affected @apollo/federation-internals version?
Paste your package-lock.json to check it for CVE-2026-32621 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
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.
Because Object.prototype is shared across the Node.js process, successful exploitation can affect subsequent requests to the gateway instance. This may result in unexpected application behavior, privilege escalation, data integrity issues, or other security impact depending on how polluted properties are subsequently consumed by the application or its dependencies. As of the date of this advisory, Apollo is not aware of any reported exploitation of this vulnerability.
Patches
Mitigations addressing prototype pollution exposure have been applied in @apollo/federation-internals, @apollo/gateway, and @apollo/query-planner versions 2.9.6, 2.10.5, 2.11.6, 2.12.3, and 2.13.2. Users are encouraged to upgrade to these versions or later at their earliest convenience.
Workarounds
A fully effective workaround is not available without a code change. As an interim measure, users who are unable to upgrade immediately may consider placing an input validation layer in front of the gateway to filter operations containing GraphQL names matching known Object.prototype pollution patterns (e.g., __proto__, constructor, prototype). Users should also ensure that subgraphs in their federated graph originate from trusted sources.
Advisory Timeline
- First published March 13, 2026 (258 days ago).
- Last revised March 19, 2026 — 6 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install @apollo/federation-internals@2.10.5
npm install @apollo/federation-internals@2.13.2
npm install @apollo/federation-internals@2.9.6
npm install @apollo/federation-internals@2.11.6
npm install @apollo/federation-internals@2.12.3
npm install @apollo/query-planner@2.12.3
npm install @apollo/gateway@2.11.6
npm install @apollo/gateway@2.12.3
npm install @apollo/query-planner@2.9.6
npm install @apollo/query-planner@2.10.5
npm install @apollo/query-planner@2.13.2
npm install @apollo/gateway@2.10.5
npm install @apollo/gateway@2.13.2
npm install @apollo/query-planner@2.11.6
npm install @apollo/gateway@2.9.6
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (15)
Affects 1 ecosystem: npm (3).
| Package | Fixed In |
|---|---|
| @apollo/federation-internals npm · Affected: All versions | 2.10.5 |
| @apollo/federation-internals npm · Affected: All versions | 2.13.2 |
| @apollo/federation-internals npm · Affected: All versions | 2.9.6 |
| @apollo/federation-internals npm · Affected: All versions | 2.11.6 |
| @apollo/federation-internals npm · Affected: All versions | 2.12.3 |
| @apollo/query-planner npm · Affected: All versions | 2.12.3 |
| @apollo/gateway npm · Affected: All versions | 2.11.6 |
| @apollo/gateway npm · Affected: All versions | 2.12.3 |
| @apollo/query-planner npm · Affected: All versions | 2.9.6 |
| @apollo/query-planner npm · Affected: All versions | 2.10.5 |
| @apollo/query-planner npm · Affected: All versions | 2.13.2 |
| @apollo/gateway npm · Affected: All versions | 2.10.5 |
| @apollo/gateway npm · Affected: All versions | 2.13.2 |
| @apollo/query-planner npm · Affected: All versions | 2.11.6 |
| @apollo/gateway npm · Affected: All versions | 2.9.6 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1321Prototype PollutionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
References
Frequently Asked Questions
- What is CVE-2026-32621?
- Apollo Federation vulnerable to prototype pollution via incomplete key sanitization. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.9/10).
- How do I check if my project is affected by CVE-2026-32621?
- CVE-2026-32621 affects @apollo/federation-internals, @apollo/query-planner and @apollo/gateway. It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-32621 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is a below-median EPSS score — only 49.3% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-76807CRITICAL
Todoist MCP Server: Browser DNS rebinding lets websites write and delete Todoist data through local MCP server
- CVE-2026-114516CRITICAL
Etherpad: Pre-auth arbitrary file read
- CVE-2024-43414HIGH
Apollo Query Planner and Apollo Gateway may infinitely loop on sufficiently complex queries