Lookup for vulnerable packages by Package URL.

Purlpkg:npm/%40apollo/gateway@2.11.0-preview.0
Typenpm
Namespace@apollo
Namegateway
Version2.11.0-preview.0
Qualifiers
Subpath
Is_vulnerablefalse
Next_non_vulnerable_version2.11.6
Latest_non_vulnerable_version2.13.2
Affected_by_vulnerabilities
Fixing_vulnerabilities
0
url VCID-227w-b5ts-8fhc
vulnerability_id VCID-227w-b5ts-8fhc
summary
Apollo Gateway Query Planner Vulnerable to Excessive Resource Consumption via Named Fragment Expansion
# Impact

## Summary

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

## Details

Named fragments were being expanded once per fragment spread during query planning, leading to exponential resource usage when deeply nested and reused fragments were involved.

## Fix/Mitigation

A new **Query Fragment Expansion Limit** metric has been introduced:
  - This metric computes the number of selections a query would have if its fragment spreads were fully expanded.
  - The metric is checked against a limit to prevent excessive computation.

# Patches

This has been remediated in `@apollo/gateway` version 2.10.1.

# Workarounds

No known direct workarounds exist.

# References

[Query Planning Documentation](https://www.apollographql.com/docs/graphos/reference/federation/query-plans)

## Acknowledgements

We appreciate the efforts of the security community in identifying and improving the performance and security of query planning mechanisms.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2025-32030
reference_id
reference_type
scores
0
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
1
reference_url https://github.com/apollographql/federation
reference_id
reference_type
scores
0
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
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/apollographql/federation
2
reference_url https://github.com/apollographql/federation/pull/3236
reference_id
reference_type
scores
0
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
1
value HIGH
scoring_system generic_textual
scoring_elements
2
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
3
reference_url https://github.com/apollographql/federation/releases/tag/%40apollo%2Fgateway%402.10.1
reference_id
reference_type
scores
0
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
1
value HIGH
scoring_system generic_textual
scoring_elements
2
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
4
reference_url https://github.com/apollographql/federation/security/advisories/GHSA-q2f9-x4p4-7xmh
reference_id
reference_type
scores
0
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
1
value HIGH
scoring_system generic_textual
scoring_elements
2
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
5
reference_url https://nvd.nist.gov/vuln/detail/CVE-2025-32030
reference_id
reference_type
scores
0
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
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2025-32030
6
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
0
url pkg:npm/%40apollo/gateway@2.10.1
purl pkg:npm/%40apollo/gateway@2.10.1
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5fuw-kvta-ffcy
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/%2540apollo/gateway@2.10.1
1
url pkg:npm/%40apollo/gateway@2.11.0-preview.0
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
1
url VCID-5fuw-kvta-ffcy
vulnerability_id VCID-5fuw-kvta-ffcy
summary
Apollo Federation vulnerable to prototype pollution via incomplete key sanitization
### Impact

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.

Because `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.

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

### Workarounds
A 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
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-32621
reference_id
reference_type
scores
0
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
1
reference_url https://github.com/apollographql/federation
reference_id
reference_type
scores
0
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
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://github.com/apollographql/federation
2
reference_url https://github.com/apollographql/federation/security/advisories/GHSA-pfjj-6f4p-rvmh
reference_id
reference_type
scores
0
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
1
value CRITICAL
scoring_system generic_textual
scoring_elements
2
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
3
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-32621
reference_id
reference_type
scores
0
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
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-32621
4
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
0
url pkg:npm/%40apollo/gateway@2.12.0-preview.0
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
1
url pkg:npm/%40apollo/gateway@2.13.0-preview.0
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
2
url pkg:npm/%40apollo/gateway@2.9.6
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
3
url pkg:npm/%40apollo/gateway@2.10.0-alpha.0
purl pkg:npm/%40apollo/gateway@2.10.0-alpha.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-227w-b5ts-8fhc
1
vulnerability VCID-z6x3-3s2q-vyee
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/%2540apollo/gateway@2.10.0-alpha.0
4
url pkg:npm/%40apollo/gateway@2.10.5
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
5
url pkg:npm/%40apollo/gateway@2.11.0-preview.0
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
6
url pkg:npm/%40apollo/gateway@2.11.6
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
7
url pkg:npm/%40apollo/gateway@2.12.3
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
8
url pkg:npm/%40apollo/gateway@2.13.2
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
2
url VCID-z6x3-3s2q-vyee
vulnerability_id VCID-z6x3-3s2q-vyee
summary
Apollo Gateway Query Planner Vulnerable to Excessive Resource Consumption via Optimization Bypass
# Impact

## Summary

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

## Details

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

## Fix/Mitigation

- A new **Query Optimization Limit** metric has been added:
  - This metric approximates the number of selections that cannot be skipped by the existing optimization.
  - The metric is checked against a limit to prevent excessive computation.

Given the complexity of query planning optimizations, we will continue refining these solutions based on real-world performance and accuracy tests.

# Patches

This has been remediated in `@apollo/gateway` version 2.10.1.

# Workarounds

No known direct workarounds exist.

# References

[Query Planning Documentation](https://www.apollographql.com/docs/graphos/reference/federation/query-plans)

## Acknowledgements

We appreciate the efforts of the security community in identifying and improving the performance and security of query planning mechanisms.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2025-32031
reference_id
reference_type
scores
0
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
1
reference_url https://github.com/apollographql/federation
reference_id
reference_type
scores
0
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
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/apollographql/federation
2
reference_url https://github.com/apollographql/federation/pull/3236
reference_id
reference_type
scores
0
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
1
value HIGH
scoring_system generic_textual
scoring_elements
2
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
3
reference_url https://github.com/apollographql/federation/releases/tag/%40apollo%2Fgateway%402.10.1
reference_id
reference_type
scores
0
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
1
value HIGH
scoring_system generic_textual
scoring_elements
2
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
4
reference_url https://github.com/apollographql/federation/security/advisories/GHSA-p2q6-pwh5-m6jr
reference_id
reference_type
scores
0
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
1
value HIGH
scoring_system generic_textual
scoring_elements
2
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
5
reference_url https://nvd.nist.gov/vuln/detail/CVE-2025-32031
reference_id
reference_type
scores
0
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
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2025-32031
6
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
0
url pkg:npm/%40apollo/gateway@2.10.1
purl pkg:npm/%40apollo/gateway@2.10.1
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-5fuw-kvta-ffcy
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/%2540apollo/gateway@2.10.1
1
url pkg:npm/%40apollo/gateway@2.11.0-preview.0
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_scorenull
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:npm/%2540apollo/gateway@2.11.0-preview.0