Vulnerabilities / CVE-2026-32621

critical

CVE-2026-32621

Apollo Federation vulnerable to prototype pollution via incomplete key sanitization

Published Modified CWE 1321
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

GHSA9.9CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L

Trivy's own label is CRITICAL. Rated critical by GHSA.

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 packages and fixed versions

SourcePackageFixed in
npm::GitHub Security Advisory npm@apollo/federation-internals, @apollo/gateway, @apollo/query-planner2.9.6, 2.10.5, 2.11.6, 2.12.3, 2.13.2
Show all 3 entries from 1 source
SourcePackageFixed in
npm::GitHub Security Advisory npm@apollo/federation-internals2.9.6, 2.10.5, 2.11.6, 2.12.3, 2.13.2
npm::GitHub Security Advisory npm@apollo/gateway2.9.6, 2.10.5, 2.11.6, 2.12.3, 2.13.2
npm::GitHub Security Advisory npm@apollo/query-planner2.9.6, 2.10.5, 2.11.6, 2.12.3, 2.13.2

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.