@graphql-tools/utilsでプロトタイプ汚染の脆弱性、細工されたレスポンスで影響
Summary
2026年10月22日に公表された、@graphql-tools/utilsのプロトタイプ汚染の脆弱性です。10.10.1以上12.0.2未満が影響を受け、12.0.2で修正されています。深刻度はCVSS v4でHighの8.4です。修正版の12.0.2への更新を急ぐ必要があるかどうかは、利用している範囲を確認して判断してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
2026年10月22日に公表された、@graphql-tools/utilsのプロトタイプ汚染の脆弱性です。10.10.1以上12.0.2未満が影響を受け、12.0.2で修正されています。深刻度はCVSS v4でHighの8.4です。修正版の12.0.2への更新を急ぐ必要があるかどうかは、利用している範囲を確認して判断してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| npm@graphql-tools/utils |
≥ 10.10.1, < 12.0.2→ 12.0.2 |
12.0.2 |
| ardatangraphql-tools | — | Not listed |
Original description The description as published by the source.
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.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- patch github.com
- REDHAT Red Hat
- web github.com
- web github.com