Skip to content

CVE-2026-114604 GraphQL Tools: Prototype pollution in mergeIncrementalResult via non-primitive path segments

HighCVSS 8.4 EPSS 0.62%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
Red Hat

Description

GraphQL Tools provides utilities for building, stitching, and mocking GraphQL schemas. From 10.10.1 until 12.0.2, the @graphql-tools/utils mergeIncrementalResult helper passes incrementalResult.path segments to setObjectKeyPath without runtime primitive-type validation. A non-primitive segment can bypass strict comparisons against proto, constructor, and prototype, then be coerced during property access so a malicious or compromised upstream incremental GraphQL response writes attacker-controlled properties to Object.prototype in the consuming Node.js process. The affected implementation is packages/utils/src/mergeIncrementalResult.ts and is reachable when consumers merge untrusted @defer or @stream transport results. This issue is fixed in version 12.0.2.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
graphql-tools @graphql-tools/utils(npm) >= 10.10.1, < 12.0.2; >= 10.10.1, <= 12.0.1 12.0.2 Fixed
ardatan graphql-tools = >= 10.10.1, < 12.0.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
ardatan graphql-tools = >= 10.10.1, < 12.0.2 No fix listed
graphql-tools @graphql-tools/utils(npm) >= 10.10.1, <= 12.0.1 No fix listed
graphql-tools @graphql-tools/utils(npm) >= 10.10.1, < 12.0.2 12.0.2

References