CVE-2026-114604
GraphQL Tools: Prototype pollution in mergeIncrementalResult via non-primitive path segments
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
8.4
GraphQL Tools: Prototype pollution in mergeIncrementalResult via non-primitive path segments
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.
- Record
CVE-2026-114604- CVSS 4.0
- 8.4 High
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 - Weakness
- CWE-1321
- Updated
- 2026-11-05
EUVDEUVD-2026-117792
8.4
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.
- Record
EUVD-2026-117792- CVSS 4.0
- 8.4 High
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 - Updated
- 2026-11-05
GitHub AdvisoriesGHSA-c4qx-w738-7hr3
8.4
GraphQL Tools: Prototype pollution in mergeIncrementalResult via non-primitive path segments
Report metadata
| Field | Value |
| --- | --- |
| Package | @graphql-tools/utils (npm, pkg:github/ardatan/graphql-tools) |
| Repository | https://github.com/ardatan/graphql-tools |
| Component | mergeIncrementalResult / setObjectKeyPath (packages/utils/src/mergeIncrementalResult.ts) |
| Vulnerability class | Prototype pollution (via unvalidated object path traversal) |
| Verified against | Source read at 134d67ae36a559651f43ec7fe4a9da76f4a00c2b; master HEAD ccca0ff0dc8ea20726fd116b2f19a38709c30e62; published npm builds 10.10.0, 10.10.1, 11.0.0, 12.0.0, 12.0.1 |
| Affected versions | @graphql-tools/utils >= 10.10.1 through the scanned 12.0.0 source; introduced by fbb58b51c4993ba9680ce6c2ef7203ab3a142713 ("remove dset dependency"). 12.0.1 also reproduces. 10.10.0 does not. |
| API surface | Public, documented export (packages/utils/src/index.ts:55) |
| Affected in default configuration | Yes — no options are involved; the forbidden-key check in setObjectKeyPath is the only defense and it is on by default |
Summary
mergeIncrementalResult merges an incremental GraphQL response part into an accumulated execution result by walking ['data', ...incrementalResult.path] and assigning at the resolved location. setObjectKeyPath tries to reject dangerous segments with strict string equality against '__proto__', 'constructor' and 'prototype' (lines 50-52 and 60-62), but it never validates that a path segment is a primitive string or number. A JSON path segment such as ["__proto__"] is an array object, so ["__proto__"] !== '__proto__' and the guard passes; the very next statement does current[key], whose ToPropertyKey coercion turns that array into the string key "__proto__" and resolves Object.prototype. The following, innocuous-looking segment is then assigned directly onto Object.prototype.
In a consuming app, incrementalResult is the response part being merged — data parsed from an upstream @defer/@stream multipart or incremental-delivery response from another GraphQL server or transport. The ExecutionResult TypeScript annotation is not a runtime check, so a malicious, compromised, or MITM'd upstream can choose the path value and therefore choose global prototype keys and values in the gateway or client process.
Comparable paths through the same helper, for contrast:
- Plain string segment
"__proto__"-> blocked by strict equality, lines 50-52 (confirmed by a control case in testing) - Array segment
["__proto__"]-> unsafe: passes the guard at lines 50-52, then coerced to the__proto__key at lines 53-57 - Same operation in 10.10.0 and earlier, which used
dset-> not exploitable (0/5 attack payloads succeeded)
Impact
A malicious incremental GraphQL response can add arbitrary properties with attacker-chosen values to Object.prototype in the consuming Node.js process. Because every plain object inherits from it, this can change authorization and configuration checks and the behavior of unrelated code elsewhere in the process — a networked PoC set Object.prototype.isAdmin = true and Object.prototype.ownerEmail, after which a consumer-style check opts.isAdmin === true on a freshly created {} returned true.
The delta over the safe behaviour: without this traversal flaw, a hostile upstream response can only influence the GraphQL data returned to the caller — a bounded, in-band effect. With path: [["__proto__"], "isAdmin"], the write lands on Object.prototype, escaping the response object entirely and affecting objects created later and code that never touches the response.
Scoring note: this report deliberately carries no CVSS vector. No score was produced for it, and exploitability depends on the consuming application's data flow — specifically whether it merges incremental results from an upstream it does not control, and how much it relies on inherited defaults. Consumers who are not affected: anything on…
- Record
GHSA-c4qx-w738-7hr3- CVSS 4.0
- 8.4 High
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 - Weakness
- CWE-1321
- Updated
- 2026-11-02
NVD
8.4
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.
- Record
CVE-2026-114604- CVSS 4.0
- 8.4 High
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Weakness
- CWE-1321
- Updated
- 2026-11-05
OSV
8.4
GraphQL Tools: Prototype pollution in mergeIncrementalResult via non-primitive path segments
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.
- Record
CVE-2026-114604- CVSS 4.0
- 8.4 High
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 - Weakness
- CWE-1321
- Updated
- 2026-11-07
OSVGHSA-c4qx-w738-7hr3
8.4
GraphQL Tools: Prototype pollution in mergeIncrementalResult via non-primitive path segments
Report metadata
| Field | Value |
| --- | --- |
| Package | @graphql-tools/utils (npm, pkg:github/ardatan/graphql-tools) |
| Repository | https://github.com/ardatan/graphql-tools |
| Component | mergeIncrementalResult / setObjectKeyPath (packages/utils/src/mergeIncrementalResult.ts) |
| Vulnerability class | Prototype pollution (via unvalidated object path traversal) |
| Verified against | Source read at 134d67ae36a559651f43ec7fe4a9da76f4a00c2b; master HEAD ccca0ff0dc8ea20726fd116b2f19a38709c30e62; published npm builds 10.10.0, 10.10.1, 11.0.0, 12.0.0, 12.0.1 |
| Affected versions | @graphql-tools/utils >= 10.10.1 through the scanned 12.0.0 source; introduced by fbb58b51c4993ba9680ce6c2ef7203ab3a142713 ("remove dset dependency"). 12.0.1 also reproduces. 10.10.0 does not. |
| API surface | Public, documented export (packages/utils/src/index.ts:55) |
| Affected in default configuration | Yes — no options are involved; the forbidden-key check in setObjectKeyPath is the only defense and it is on by default |
Summary
mergeIncrementalResult merges an incremental GraphQL response part into an accumulated execution result by walking ['data', ...incrementalResult.path] and assigning at the resolved location. setObjectKeyPath tries to reject dangerous segments with strict string equality against '__proto__', 'constructor' and 'prototype' (lines 50-52 and 60-62), but it never validates that a path segment is a primitive string or number. A JSON path segment such as ["__proto__"] is an array object, so ["__proto__"] !== '__proto__' and the guard passes; the very next statement does current[key], whose ToPropertyKey coercion turns that array into the string key "__proto__" and resolves Object.prototype. The following, innocuous-looking segment is then assigned directly onto Object.prototype.
In a consuming app, incrementalResult is the response part being merged — data parsed from an upstream @defer/@stream multipart or incremental-delivery response from another GraphQL server or transport. The ExecutionResult TypeScript annotation is not a runtime check, so a malicious, compromised, or MITM'd upstream can choose the path value and therefore choose global prototype keys and values in the gateway or client process.
Comparable paths through the same helper, for contrast:
- Plain string segment
"__proto__"-> blocked by strict equality, lines 50-52 (confirmed by a control case in testing) - Array segment
["__proto__"]-> unsafe: passes the guard at lines 50-52, then coerced to the__proto__key at lines 53-57 - Same operation in 10.10.0 and earlier, which used
dset-> not exploitable (0/5 attack payloads succeeded)
Impact
A malicious incremental GraphQL response can add arbitrary properties with attacker-chosen values to Object.prototype in the consuming Node.js process. Because every plain object inherits from it, this can change authorization and configuration checks and the behavior of unrelated code elsewhere in the process — a networked PoC set Object.prototype.isAdmin = true and Object.prototype.ownerEmail, after which a consumer-style check opts.isAdmin === true on a freshly created {} returned true.
The delta over the safe behaviour: without this traversal flaw, a hostile upstream response can only influence the GraphQL data returned to the caller — a bounded, in-band effect. With path: [["__proto__"], "isAdmin"], the write lands on Object.prototype, escaping the response object entirely and affecting objects created later and code that never touches the response.
Scoring note: this report deliberately carries no CVSS vector. No score was produced for it, and exploitability depends on the consuming application's data flow — specifically whether it merges incremental results from an upstream it does not control, and how much it relies on inherited defaults. Consumers who are not affected: anything on…
- Record
GHSA-c4qx-w738-7hr3- CVSS 4.0
- 8.4 High
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 - Weakness
- CWE-1321
- Updated
- 2026-11-02
OSVCLSA-2026-1793098698 No score
TuxCare security update for @graphql-tools/utils (1 CVE)
TuxCare rebuilt @graphql-tools/utils to address 1 CVE. Fixed in 11.2.2-tuxcare.2.
- Record
CLSA-2026-1793098698- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:12429-1 No score
git-bug-0.11.0-4.1 on GA media
These are all security issues fixed in the git-bug-0.11.0-4.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:12429-1- Updated
- 2026-11-06
OSVROOT-APP-NPM-CVE-2026-114604 No score
CVE-2026-114604 in @graphql-tools/utils - Patched by Root
Root has patched CVE-2026-114604 in the @graphql-tools/utils package for Root:npm. Multiple fixed versions available.
- Record
ROOT-APP-NPM-CVE-2026-114604- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
@graphql-tools/utilsnpm |
10.10.1 to 12.0.1 | 12.0.2 |
@graphql-tools/utilsTuxCare:npm |
11.2.2-tuxcare.0 up to 11.2.2-tuxcare.2, plus listed versions 11.2.211.2.2-tuxcare.1 |
11.2.2-tuxcare.2 |
@graphql-tools/utilsnpm |
10.10.1 up to 12.0.2 | 12.0.2 |
@graphql-tools/utilsRoot:npm |
before 11.0.0-aikido.2 | 11.0.0-aikido.211.2.2-aikido.210.11.0-aikido.211.1.0-aikido.212.0.1-aikido.112.0.0-aikido.2 |
@rootio/graphql-tools__utilsRoot:npm |
before 11.0.0-root.io.2 | 11.0.0-root.io.211.2.2-root.io.210.11.0-root.io.211.1.0-root.io.212.0.1-root.io.112.0.0-root.io.2 |
git-bugopenSUSE:Tumbleweed From an advisory covering 3 CVEs |
before 0.11.0-4.1 | 0.11.0-4.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| references | NVD, OSV | |
| aliases | EUVD | |
| description, facts, products, references, severity | CVE List | |
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-114604 is a high vulnerability (CVSS 8.4) in Ardatan Graphql-tools, published October 22, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.52%, the 44th percentile. Fixed in @graphql-tools/utils 12.0.2.
References
github.com/ardatan/graphql-tools/security/advisories/GHSA-c4qx-w738-7hr3
github.com/ardatan/graphql-tools/pull/8467
github.com/ardatan/graphql-tools/commit/19f5b3373fd7ace0688d19950fc529ce8347952a
github.com/ardatan/graphql-tools/commit/20d36a5c6eb8fd5524420988e01a48618c450d70
github.com/ardatan/graphql-tools/releases/tag/@graphql-tools/[email protected]
github.com/advisories/GHSA-c4qx-w738-7hr3
Left out here: the rest of 2 source descriptions. The JSON record has them.