GHSA-74cr-77xc-8g6r
HIGH 7.3CVSS 3.1Prototype Pollution in @apollo/gateway
Versions of @apollo/gateway prior to 0.6.2 are vulnerable to Prototype Pollution. The package uses deepMerge() to merge objects, which may allow attackers to alter the Object prototype through queries with GraphQL aliases. Carefully constructed payloads can override properties of all objects in the application. This may lead to Denial of Service or may be chained with other vulnerabilities leading to Remote Code Execution.
Recommendation
Upgrade to version 0.6.2 or later.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @apollo/gateway | < 0.6.2 | 0.6.2 |
References
- https://github.com/apollographql/apollo-server/pull/2779 · WEB
- https://github.com/apollographql/apollo-server/commit/cea7397582a293af6a5f60947da34b95e669c6c1 · WEB
- https://snyk.io/vuln/SNYK-JS-APOLLOGATEWAY-174915 · WEB
- https://www.npmjs.com/advisories/917 · WEB
History
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 13 Jun 2019)