Skip to content

CVE-2026-32621 Apollo Federation has prototype pollution via incomplete key sanitization

CriticalCVSS 9.9 EPSS 0.60%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

Description

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.

Upgrade path

6 packages: 3 fixed.

PackageAffectedFixed inStatus
apollo @apollo/gateway(npm) < 2.9.6; >= 2.10.0, < 2.10.5; >= 2.11.0, < 2.11.6; >= 2.12.0, < 2.12.3 +1 more 2.9.6, 2.10.5, 2.11.6, 2.12.3, 2.13.2 Fixed
apollo @apollo/query-planner(npm) < 2.9.6; >= 2.10.0, < 2.10.5; >= 2.11.0, < 2.11.6; >= 2.12.0, < 2.12.3 +1 more 2.9.6, 2.10.5, 2.11.6, 2.12.3, 2.13.2 Fixed
apollo federation-internals(npm) < 2.9.6; >= 2.10.0, < 2.10.5; >= 2.11.0, < 2.11.6; >= 2.12.0, < 2.12.3 +1 more 2.9.6, 2.10.5, 2.11.6, 2.12.3, 2.13.2 Fixed
apollo @apollo/gateway = < 2.9.6; = >= 2.10.0-alpha.0, < 2.10.5; = >= 2.11.0-preview.0, < 2.11.6; = >= 2.12.0-preview.0, < 2.12.3 +1 more No fix listed Versions listed
apollo @apollo/query-planner = < 2.9.6; = >= 2.10.0-alpha.0, < 2.10.5; = >= 2.11.0-preview.0, < 2.11.6; = >= 2.12.0-preview.0, < 2.12.3 +1 more No fix listed Versions listed
apollo federation-internals = < 2.9.6; = >= 2.10.0-alpha.0, < 2.10.5; = >= 2.11.0-preview.0, < 2.11.6; = >= 2.12.0-preview.0, < 2.12.3 +1 more No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
apollo federation-internals = >= 2.13.0-preview.0, < 2.13.2 No fix listed
apollo federation-internals = >= 2.12.0-preview.0, < 2.12.3 No fix listed
apollo federation-internals = >= 2.11.0-preview.0, < 2.11.6 No fix listed
apollo federation-internals = >= 2.10.0-alpha.0, < 2.10.5 No fix listed
apollo federation-internals = < 2.9.6 No fix listed
apollo @apollo/gateway = >= 2.13.0-preview.0, < 2.13.2 No fix listed
apollo @apollo/gateway = >= 2.12.0-preview.0, < 2.12.3 No fix listed
apollo @apollo/gateway = >= 2.11.0-preview.0, < 2.11.6 No fix listed
apollo @apollo/gateway = >= 2.10.0-alpha.0, < 2.10.5 No fix listed
apollo @apollo/gateway = < 2.9.6 No fix listed
apollo @apollo/query-planner = >= 2.13.0-preview.0, < 2.13.2 No fix listed
apollo @apollo/query-planner = >= 2.12.0-preview.0, < 2.12.3 No fix listed
apollo @apollo/query-planner = >= 2.11.0-preview.0, < 2.11.6 No fix listed
apollo @apollo/query-planner = >= 2.10.0-alpha.0, < 2.10.5 No fix listed
apollo @apollo/query-planner = < 2.9.6 No fix listed
apollo federation-internals(npm) < 2.9.6 2.9.6
apollo federation-internals(npm) >= 2.10.0, < 2.10.5 2.10.5
apollo federation-internals(npm) >= 2.11.0, < 2.11.6 2.11.6
apollo federation-internals(npm) >= 2.12.0, < 2.12.3 2.12.3
apollo federation-internals(npm) >= 2.13.0, < 2.13.2 2.13.2
apollo @apollo/gateway(npm) < 2.9.6 2.9.6
apollo @apollo/gateway(npm) >= 2.10.0, < 2.10.5 2.10.5
apollo @apollo/gateway(npm) >= 2.11.0, < 2.11.6 2.11.6
apollo @apollo/gateway(npm) >= 2.12.0, < 2.12.3 2.12.3
apollo @apollo/gateway(npm) >= 2.13.0, < 2.13.2 2.13.2
Show 5 more
ProductAffected versionsFixed in
apollo @apollo/query-planner(npm) < 2.9.6 2.9.6
apollo @apollo/query-planner(npm) >= 2.10.0, < 2.10.5 2.10.5
apollo @apollo/query-planner(npm) >= 2.11.0, < 2.11.6 2.11.6
apollo @apollo/query-planner(npm) >= 2.12.0, < 2.12.3 2.12.3
apollo @apollo/query-planner(npm) >= 2.13.0, < 2.13.2 2.13.2

References