CVE-2026-114604

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

Published Nov 5, 2026 CVSS 4.0 · 8.4 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The mergeIncrementalResult helper in GraphQL Tools fails to enforce primitive type validation on path segments derived from an incremental GraphQL response. A non‑primitive segment bypasses strict checks on "__proto__", "constructor", and "prototype" and can be coerced during property access, allowing an attacker-controlled value to be written to Object.prototype. When an untrusted @defer or @stream transport result reaches the merge helper, the attacker may inject properties onto the global prototype, which can in turn lead to arbitrary code execution, privilege escalation, or other widespread compromise of the Node.js process.

Affected Systems

The vulnerability affects the GraphQL Tools library (ardatan) in package versions 10.10.1 through 12.0.2. The affected code resides in packages/utils/src/mergeIncrementalResult.ts and is exercised when consumers merge untrusted incremental results from GraphQL Defer or Stream features. All projects that depend on any of these releases and directly use mergeIncrementalResult are impacted.

Risk and Exploitability

The CVSS score of 8.4 classifies this flaw as high severity. The EPSS score is not reported, and the vulnerability is not listed in the CISA KEV catalog, indicating it may not yet be widely exploited in the wild. The likelihood of exploitation depends on the presence of untrusted incremental data in client applications; an attacker who can supply or manipulate a GraphQL response with forged path segments can achieve prototype pollution, enabling multiple downstream attacks. The typical attack vector is remote, via the network, and requires the ability to inject malicious GraphQL payloads into the application’s data transport.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the @graphql-tools/utils package to version 12.0.2 or later, where the fix for prototype pollution is applied.
  • If an upgrade is not immediately possible, sanitize or strictly validate all path segments in incremental GraphQL responses to ensure they are primitive before passing them to mergeIncrementalResult.
  • As a temporary control, avoid merging untrusted @defer or @stream results by removing or disabling the mergeIncrementalResult logic until a patch can be applied.

Generated by OpenCVE AI on November 6, 2026 at 14:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-c4qx-w738-7hr3 GraphQL Tools: Prototype pollution in mergeIncrementalResult via non-primitive path segments
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-915
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'}

threat_severity

Important

Type Values Removed Values Added
First Time appeared Ardatan
Ardatan graphql-tools
Vendors & Products Ardatan
Ardatan graphql-tools
Type Values Removed Values Added
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.
Title GraphQL Tools: Prototype pollution in mergeIncrementalResult via non-primitive path segments
Weaknesses CWE-1321
References
Metrics cvssV4_0

{'score': 8.4, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-1321

    Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

  • CWE-915

    Improperly Controlled Modification of Dynamically-Determined Object Attributes

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 9, 2026, 6:37 PM
Reserved
Oct 21, 2026, 8:34 PM
Status
Awaiting Analysis
Published
Nov 5, 2026, 9:18 PM
Modified
Nov 9, 2026, 7:16 PM
Severity
Important
Public date
Nov 5, 2026, 8:37 PM