{"url":"http://public2.vulnerablecode.io/api/packages/776846?format=json","purl":"pkg:npm/%40apollo/gateway@2.11.0-preview.0","type":"npm","namespace":"@apollo","name":"gateway","version":"2.11.0-preview.0","qualifiers":{},"subpath":"","is_vulnerable":false,"next_non_vulnerable_version":"2.11.6","latest_non_vulnerable_version":"2.13.2","affected_by_vulnerabilities":[],"fixing_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/28206?format=json","vulnerability_id":"VCID-227w-b5ts-8fhc","summary":"Apollo Gateway Query Planner Vulnerable to Excessive Resource Consumption via Named Fragment Expansion\n# Impact\n\n## Summary\n\nA vulnerability in Apollo Gateway allowed queries with deeply nested and reused named fragments to be prohibitively expensive to query plan, specifically during named fragment expansion. This could lead to excessive resource consumption and denial of service.\n\n## Details\n\nNamed fragments were being expanded once per fragment spread during query planning, leading to exponential resource usage when deeply nested and reused fragments were involved.\n\n## Fix/Mitigation\n\nA new **Query Fragment Expansion Limit** metric has been introduced:\n  - This metric computes the number of selections a query would have if its fragment spreads were fully expanded.\n  - The metric is checked against a limit to prevent excessive computation.\n\n# Patches\n\nThis has been remediated in `@apollo/gateway` version 2.10.1.\n\n# Workarounds\n\nNo known direct workarounds exist.\n\n# References\n\n[Query Planning Documentation](https://www.apollographql.com/docs/graphos/reference/federation/query-plans)\n\n## Acknowledgements\n\nWe appreciate the efforts of the security community in identifying and improving the performance and security of query planning mechanisms.","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2025-32030","reference_id":"","reference_type":"","scores":[{"value":"0.00628","scoring_system":"epss","scoring_elements":"0.70576","published_at":"2026-05-29T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2025-32030"},{"reference_url":"https://github.com/apollographql/federation","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/apollographql/federation"},{"reference_url":"https://github.com/apollographql/federation/pull/3236","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-04-08T18:13:48Z/"}],"url":"https://github.com/apollographql/federation/pull/3236"},{"reference_url":"https://github.com/apollographql/federation/releases/tag/%40apollo%2Fgateway%402.10.1","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-04-08T18:13:48Z/"}],"url":"https://github.com/apollographql/federation/releases/tag/%40apollo%2Fgateway%402.10.1"},{"reference_url":"https://github.com/apollographql/federation/security/advisories/GHSA-q2f9-x4p4-7xmh","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-04-08T18:13:48Z/"}],"url":"https://github.com/apollographql/federation/security/advisories/GHSA-q2f9-x4p4-7xmh"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2025-32030","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-32030"},{"reference_url":"https://github.com/advisories/GHSA-q2f9-x4p4-7xmh","reference_id":"GHSA-q2f9-x4p4-7xmh","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-q2f9-x4p4-7xmh"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/61527?format=json","purl":"pkg:npm/%40apollo/gateway@2.10.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-5fuw-kvta-ffcy"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540apollo/gateway@2.10.1"},{"url":"http://public2.vulnerablecode.io/api/packages/776846?format=json","purl":"pkg:npm/%40apollo/gateway@2.11.0-preview.0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540apollo/gateway@2.11.0-preview.0"}],"aliases":["CVE-2025-32030","GHSA-q2f9-x4p4-7xmh"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-227w-b5ts-8fhc"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/22797?format=json","vulnerability_id":"VCID-5fuw-kvta-ffcy","summary":"Apollo Federation vulnerable to prototype pollution via incomplete key sanitization\n### Impact\n\nA 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.\n\nBecause `Object.prototype` is shared across the Node.js process, successful exploitation can affect subsequent requests to the gateway instance. This may result in unexpected application behavior, privilege escalation, data integrity issues, or other security impact depending on how polluted properties are subsequently consumed by the application or its dependencies. As of the date of this advisory, Apollo is not aware of any reported exploitation of this vulnerability.\n\n### Patches\nMitigations addressing prototype pollution exposure have been applied in `@apollo/federation-internals`, `@apollo/gateway`, and `@apollo/query-planner` versions `2.9.6`, `2.10.5`, `2.11.6`, `2.12.3`, and `2.13.2`.   Users are encouraged to upgrade to these versions or later at their earliest convenience.\n\n### Workarounds\nA fully effective workaround is not available without a code change. As an interim measure, users who are unable to upgrade immediately may consider placing an input validation layer in front of the gateway to filter operations containing [GraphQL names](https://spec.graphql.org/September2025/#sec-Names) matching known `Object.prototype` pollution patterns (e.g., `__proto__`, `constructor`, `prototype`). Users should also ensure that subgraphs in their federated graph originate from trusted sources.","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2026-32621","reference_id":"","reference_type":"","scores":[{"value":"0.00043","scoring_system":"epss","scoring_elements":"0.13537","published_at":"2026-05-29T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-32621"},{"reference_url":"https://github.com/apollographql/federation","reference_id":"","reference_type":"","scores":[{"value":"9.9","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/apollographql/federation"},{"reference_url":"https://github.com/apollographql/federation/security/advisories/GHSA-pfjj-6f4p-rvmh","reference_id":"","reference_type":"","scores":[{"value":"9.9","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-03-16T20:14:28Z/"}],"url":"https://github.com/apollographql/federation/security/advisories/GHSA-pfjj-6f4p-rvmh"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32621","reference_id":"","reference_type":"","scores":[{"value":"9.9","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32621"},{"reference_url":"https://github.com/advisories/GHSA-pfjj-6f4p-rvmh","reference_id":"GHSA-pfjj-6f4p-rvmh","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-pfjj-6f4p-rvmh"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/950503?format=json","purl":"pkg:npm/%40apollo/gateway@2.12.0-preview.0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540apollo/gateway@2.12.0-preview.0"},{"url":"http://public2.vulnerablecode.io/api/packages/950507?format=json","purl":"pkg:npm/%40apollo/gateway@2.13.0-preview.0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540apollo/gateway@2.13.0-preview.0"},{"url":"http://public2.vulnerablecode.io/api/packages/57804?format=json","purl":"pkg:npm/%40apollo/gateway@2.9.6","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540apollo/gateway@2.9.6"},{"url":"http://public2.vulnerablecode.io/api/packages/776840?format=json","purl":"pkg:npm/%40apollo/gateway@2.10.0-alpha.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-227w-b5ts-8fhc"},{"vulnerability":"VCID-z6x3-3s2q-vyee"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540apollo/gateway@2.10.0-alpha.0"},{"url":"http://public2.vulnerablecode.io/api/packages/57805?format=json","purl":"pkg:npm/%40apollo/gateway@2.10.5","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540apollo/gateway@2.10.5"},{"url":"http://public2.vulnerablecode.io/api/packages/776846?format=json","purl":"pkg:npm/%40apollo/gateway@2.11.0-preview.0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540apollo/gateway@2.11.0-preview.0"},{"url":"http://public2.vulnerablecode.io/api/packages/57806?format=json","purl":"pkg:npm/%40apollo/gateway@2.11.6","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540apollo/gateway@2.11.6"},{"url":"http://public2.vulnerablecode.io/api/packages/57807?format=json","purl":"pkg:npm/%40apollo/gateway@2.12.3","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540apollo/gateway@2.12.3"},{"url":"http://public2.vulnerablecode.io/api/packages/57808?format=json","purl":"pkg:npm/%40apollo/gateway@2.13.2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540apollo/gateway@2.13.2"}],"aliases":["CVE-2026-32621","GHSA-pfjj-6f4p-rvmh"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-5fuw-kvta-ffcy"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/27982?format=json","vulnerability_id":"VCID-z6x3-3s2q-vyee","summary":"Apollo Gateway Query Planner Vulnerable to Excessive Resource Consumption via Optimization Bypass\n# Impact\n\n## Summary\n\nA vulnerability in Apollo Gateway allowed queries with deeply nested and reused named fragments to be prohibitively expensive to query plan, specifically due to internal optimizations being frequently bypassed. This could lead to excessive resource consumption and denial of service.\n\n## Details\n\nThe query planner includes an optimization that significantly speeds up planning for applicable GraphQL selections. However, queries with deeply nested and reused named fragments can generate many selections where this optimization does not apply, leading to significantly longer planning times. Because the query planner does not enforce a timeout, a small number of such queries can render gateway inoperable.\n\n## Fix/Mitigation\n\n- A new **Query Optimization Limit** metric has been added:\n  - This metric approximates the number of selections that cannot be skipped by the existing optimization.\n  - The metric is checked against a limit to prevent excessive computation.\n\nGiven the complexity of query planning optimizations, we will continue refining these solutions based on real-world performance and accuracy tests.\n\n# Patches\n\nThis has been remediated in `@apollo/gateway` version 2.10.1.\n\n# Workarounds\n\nNo known direct workarounds exist.\n\n# References\n\n[Query Planning Documentation](https://www.apollographql.com/docs/graphos/reference/federation/query-plans)\n\n## Acknowledgements\n\nWe appreciate the efforts of the security community in identifying and improving the performance and security of query planning mechanisms.","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2025-32031","reference_id":"","reference_type":"","scores":[{"value":"0.00417","scoring_system":"epss","scoring_elements":"0.62029","published_at":"2026-05-29T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2025-32031"},{"reference_url":"https://github.com/apollographql/federation","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/apollographql/federation"},{"reference_url":"https://github.com/apollographql/federation/pull/3236","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-04-08T14:39:08Z/"}],"url":"https://github.com/apollographql/federation/pull/3236"},{"reference_url":"https://github.com/apollographql/federation/releases/tag/%40apollo%2Fgateway%402.10.1","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-04-08T14:39:08Z/"}],"url":"https://github.com/apollographql/federation/releases/tag/%40apollo%2Fgateway%402.10.1"},{"reference_url":"https://github.com/apollographql/federation/security/advisories/GHSA-p2q6-pwh5-m6jr","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-04-08T14:39:08Z/"}],"url":"https://github.com/apollographql/federation/security/advisories/GHSA-p2q6-pwh5-m6jr"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2025-32031","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-32031"},{"reference_url":"https://github.com/advisories/GHSA-p2q6-pwh5-m6jr","reference_id":"GHSA-p2q6-pwh5-m6jr","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-p2q6-pwh5-m6jr"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/61527?format=json","purl":"pkg:npm/%40apollo/gateway@2.10.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-5fuw-kvta-ffcy"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540apollo/gateway@2.10.1"},{"url":"http://public2.vulnerablecode.io/api/packages/776846?format=json","purl":"pkg:npm/%40apollo/gateway@2.11.0-preview.0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540apollo/gateway@2.11.0-preview.0"}],"aliases":["CVE-2025-32031","GHSA-p2q6-pwh5-m6jr"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-z6x3-3s2q-vyee"}],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540apollo/gateway@2.11.0-preview.0"}