@apollo federation-internals
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.
Affected versions and mitigation
From the CVE record and the vendor's references.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
Fixed in 2.13.2, 2.12.3, 2.11.6, 2.10.5, 2.9.6
- >= 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
Fixed in 2.13.2, 2.12.3, 2.11.6, 2.10.5, 2.9.6
- >= 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
Fixed in 2.13.2, 2.12.3, 2.11.6, 2.10.5, 2.9.6
Mitigation
Upgrade federation-internals to 2.13.2 or 2.12.3 or 2.11.6 or 2.10.5 or 2.9.6 or later.
Upgrade gateway to 2.13.2 or 2.12.3 or 2.11.6 or 2.10.5 or 2.9.6 or later.
Upgrade query-planner to 2.13.2 or 2.12.3 or 2.11.6 or 2.10.5 or 2.9.6 or later.
References
- Vendor advisory github.com/apollographql/federation/security/a…
Timeline
Days relative to CVE publicationFirst public PoC 143 days after publication; not in CISA KEV. First PoC: sam00/POC-CVE-2026-32621-Apollo-Federation-XSS-Vulnerability (created 3 Aug 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| sam00/POC-CVE-2026-32621-Apollo-Federation-XSS-Vulnerability | 3 Aug 2026 +143 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.