CVE-2026-32621
Apollo 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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
9.9
Apollo 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.
- Record
CVE-2026-32621- CVSS 3.1
- 9.9 Critical
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L - Weakness
- CWE-1321
- Updated
- 2026-11-02
EUVDEUVD-2026-12135
9.9
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.
- Record
EUVD-2026-12135- CVSS 3.1
- 9.9 Critical
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-pfjj-6f4p-rvmh
9.9
Apollo Federation vulnerable to prototype pollution via incomplete key sanitization
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.
- Record
GHSA-pfjj-6f4p-rvmh- CVSS 3.1
- 9.9 Critical
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L - Weakness
- CWE-1321
- Updated
- 2026-11-02
NVD
9.9
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.
- Record
CVE-2026-32621- CVSS 3.1
- 9.9 Critical
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L - Weakness
- CWE-1321
- Updated
- 2026-11-02
OSV
9.9
Apollo 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.
- Record
CVE-2026-32621- CVSS 3.1
- 9.9 Critical
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L - Weakness
- CWE-1321
- Updated
- 2026-11-02
OSVGHSA-pfjj-6f4p-rvmh
9.9
Apollo Federation vulnerable to prototype pollution via incomplete key sanitization
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.
- Record
GHSA-pfjj-6f4p-rvmh- CVSS 3.1
- 9.9 Critical
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L - Weakness
- CWE-1321
- Updated
- 2026-11-02
OSVROOT-APP-NPM-CVE-2026-32621 No score
CVE-2026-32621 in @apollo/federation-internals - Patched by Root
Root has patched CVE-2026-32621 in the @apollo/federation-internals package for Root:npm. Multiple fixed versions available.
- Record
ROOT-APP-NPM-CVE-2026-32621- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
@apollo/federation-internalsnpm |
before 2.9.6 | 2.9.6 |
@apollo/federation-internalsnpm |
2.10.0 up to 2.10.5 | 2.10.5 |
@apollo/federation-internalsnpm |
2.11.0 up to 2.11.6 | 2.11.6 |
@apollo/federation-internalsnpm |
2.12.0 up to 2.12.3 | 2.12.3 |
@apollo/federation-internalsnpm |
2.13.0 up to 2.13.2 | 2.13.2 |
@apollo/gatewaynpm |
before 2.9.6 | 2.9.6 |
@apollo/gatewaynpm |
2.10.0 up to 2.10.5 | 2.10.5 |
@apollo/gatewaynpm |
2.11.0 up to 2.11.6 | 2.11.6 |
@apollo/gatewaynpm |
2.12.0 up to 2.12.3 | 2.12.3 |
@apollo/gatewaynpm |
2.13.0 up to 2.13.2 | 2.13.2 |
Show 11 moreShow less
| Package | Affected | Fixed |
|---|---|---|
@apollo/query-plannernpm |
before 2.9.6 | 2.9.6 |
@apollo/query-plannernpm |
2.10.0 up to 2.10.5 | 2.10.5 |
@apollo/query-plannernpm |
2.11.0 up to 2.11.6 | 2.11.6 |
@apollo/query-plannernpm |
2.12.0 up to 2.12.3 | 2.12.3 |
@apollo/query-plannernpm |
2.13.0 up to 2.13.2 | 2.13.2 |
@apollo/federation-internalsRoot:npm |
before 2.13.0-aikido.2 | 2.13.0-aikido.22.13.0-aikido.32.9.3-aikido.12.6.3-aikido.12.10.1-aikido.12.2.3-aikido.1 |
@apollo/query-plannerRoot:npm |
before 2.13.0-aikido.2 | 2.13.0-aikido.22.6.3-aikido.12.10.1-aikido.12.6.3-aikido.22.2.3-aikido.1 |
@apollo/gatewayRoot:npm |
before 2.13.0-aikido.2 | 2.13.0-aikido.22.6.3-aikido.12.10.1-aikido.12.6.3-aikido.22.2.3-aikido.32.2.3-aikido.2 |
@rootio/apollo__gatewayRoot:npm |
before 2.13.0-root.io.1 | 2.13.0-root.io.12.13.0-root.io.22.6.3-root.io.12.10.1-root.io.12.6.3-root.io.22.2.3-root.io.32.2.3-root.io.2 |
@rootio/apollo__query-plannerRoot:npm |
before 2.13.0-root.io.1 | 2.13.0-root.io.12.13.0-root.io.22.6.3-root.io.12.10.1-root.io.12.6.3-root.io.22.2.3-root.io.1 |
@rootio/apollo__federation-internalsRoot:npm |
before 2.13.0-root.io.1 | 2.13.0-root.io.12.13.0-root.io.22.13.0-root.io.32.9.3-root.io.12.6.3-root.io.12.10.1-root.io.12.2.3-root.io.1 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | sam00/POC-CVE-2026-32621-Apollo-Federation-XSS-Vulnerability | 2026-08-03 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-32621 is a critical vulnerability (CVSS 9.9) in @apollo Gateway, published March 13, 2026. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 0.54%, the 45th percentile. Fixed in @apollo/federation-internals 2.9.6.