Skip to content
OpenAdvisories
Critical · 9.9 Public exploit CVE-2026-32621 EUVD-2026-12135GHSA-pfjj-6f4p-rvmh

Apollo Federation has prototype pollution via incomplete key sanitization

Published Mar 13, 2026 · Updated Mar 16, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
@apollo federation-internals >= 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 >= 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 >= 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 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm @apollo/federation-internals < 2.9.6 2.9.6 GHSA-pfjj-6f4p-rvmh
npm @apollo/federation-internals >= 2.10.0, < 2.10.5 2.10.5 GHSA-pfjj-6f4p-rvmh
npm @apollo/federation-internals >= 2.11.0, < 2.11.6 2.11.6 GHSA-pfjj-6f4p-rvmh
npm @apollo/federation-internals >= 2.12.0, < 2.12.3 2.12.3 GHSA-pfjj-6f4p-rvmh
npm @apollo/federation-internals >= 2.13.0, < 2.13.2 2.13.2 GHSA-pfjj-6f4p-rvmh
npm @apollo/gateway < 2.9.6 2.9.6 GHSA-pfjj-6f4p-rvmh
npm @apollo/gateway >= 2.10.0, < 2.10.5 2.10.5 GHSA-pfjj-6f4p-rvmh
npm @apollo/gateway >= 2.11.0, < 2.11.6 2.11.6 GHSA-pfjj-6f4p-rvmh
npm @apollo/gateway >= 2.12.0, < 2.12.3 2.12.3 GHSA-pfjj-6f4p-rvmh
npm @apollo/gateway >= 2.13.0, < 2.13.2 2.13.2 GHSA-pfjj-6f4p-rvmh
npm @apollo/query-planner < 2.9.6 2.9.6 GHSA-pfjj-6f4p-rvmh
npm @apollo/query-planner >= 2.10.0, < 2.10.5 2.10.5 GHSA-pfjj-6f4p-rvmh
npm @apollo/query-planner >= 2.11.0, < 2.11.6 2.11.6 GHSA-pfjj-6f4p-rvmh
npm @apollo/query-planner >= 2.12.0, < 2.12.3 2.12.3 GHSA-pfjj-6f4p-rvmh
npm @apollo/query-planner >= 2.13.0, < 2.13.2 2.13.2 GHSA-pfjj-6f4p-rvmh

References