npmWorst: Critical5 advisories
@apollo/gateway: known vulnerabilities
@apollo/gateway has 5 reviewed security advisories in the GitHub Advisory Database — 1 critical, 4 high. The most recent was published 2026-03-16. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the @apollo/gateway versions running across your servers, containers and images, and ranks what to patch first.
How to fix @apollo/gateway
Upgrade @apollo/gateway to a release at or above the fixed version shown for each advisory below. For npm:
npm install @apollo/gateway@2.13.2 (or run npm audit fix)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (5)
Apollo Federation vulnerable to prototype pollution via incomplete key sanitization
Critical 9.9 CWE-1321
— Affected: from 2.13.0 up to 2.13.2. Fixed in 2.13.2. Published 2026-03-16. GHSA-pfjj-6f4p-rvmh · CVE-2026-32621
Apollo Gateway Query Planner Vulnerable to Excessive Resource Consumption via Optimization Bypass
High 7.5 CWE-770
— Affected: before 2.10.1. Fixed in 2.10.1. Published 2025-04-07. GHSA-p2q6-pwh5-m6jr · CVE-2025-32031
Apollo Gateway Query Planner Vulnerable to Excessive Resource Consumption via Named Fragment Expansion
High 7.5 CWE-770
— Affected: before 2.10.1. Fixed in 2.10.1. Published 2025-04-07. GHSA-q2f9-x4p4-7xmh · CVE-2025-32030
Apollo Query Planner and Apollo Gateway may infinitely loop on sufficiently complex queries
High 7.5 CWE-673 CWE-674
— Affected: from 2.0.0 up to 2.8.5. Fixed in 2.8.5. Published 2024-08-27. GHSA-fmj9-77q8-g6c4 · CVE-2024-43414
Prototype Pollution in @apollo/gateway
High 7.3 CWE-1321 CWE-400
— Affected: before 0.6.2. Fixed in 0.6.2. Published 2019-06-13. GHSA-74cr-77xc-8g6r
Find @apollo/gateway across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.