Skip to main content
← All vulnerabilities
CVE-2026-104852GHSA-7MX3-VVMW-HJMV

GraphQL Tools has prototype pollution in well-established utility function `mergeDeep`

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 12.0.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

GraphQL Tools provides utilities for building, stitching, and mocking GraphQL schemas. Prior to 12.0.1, the GraphQL Tools utils package's mergeDeep function follows inherited properties while recursively merging source objects and does not exclude proto, constructor, or prototype keys. An unauthenticated GraphQL client can alias fields to those names so responses from two subgraphs collide during ordinary supergraph result merging, causing mergeDeep to traverse Object and Function prototypes and overwrite Function.prototype.call with a subgraph-supplied value. This breaks subsequent requests in the process until restart. This issue is fixed in version 12.0.1.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • ardatan graphql-tools

    fixed in 12.0.1

  • @graphql-tools/utilsnpm

    fixed in 12.0.1

References 5

GitHub · ardatan/graphql-tools

GitHub · graphql-hive/gateway