本文へ移動
English version →
中 5.3

js-toml の脆弱性

CVE-2026-63386 SecPulse初出

概要

js-toml に 脆弱性 (CVE-2026-63386) が存在。不正な操作・情報露出のリスクがあります。

自動生成の要約

取得元のデータ (CVSS・CWE・影響バージョンなど) から SecPulse が定型文で組み立てた要約です。AI は使っていません。正確な内容は下の原文と参照URLで確認してください。

js-toml という製品で、CVE-2026-63386 という番号がついた弱点 (脆弱性) が見つかりました。
不正な操作・情報露出のリスクがあります。重要度は CVSS スコア 5.3/10 です。
対策: ベンダー公式の修正版に更新してください。
心配なら、システム担当者や製品の公式サイトで「js-toml CVE-2026-63386」を検索してください。

CVE-2026-63386 (js-toml) — CWE-674 / CVSS v3 5.3
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 認証不要 / 被害者操作不要
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。

何が問題か

js-toml に 脆弱性 (CWE-674) があります。

影響範囲

js-toml の影響バージョンはベンダーのアドバイザリで確認してください。

重要度

重要度: 中 (CVSS 5.3/10)。不正な操作・情報露出のリスクがあります。

修正方法

ベンダー公式アドバイザリの修正版に更新してください。

暫定回避

修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。

検知方法

Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。

対応アクション

SOC/SREチームが順番に実行すべき具体的なステップとコマンド例

  1. 1
    影響範囲の特定identify
    grep -r 'js-toml' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で js-toml を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    事後検証verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

影響パッケージ

パッケージ影響を受ける版 → 修正版
npmjs-toml
1.1.3 未満→ 1.1.3
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。

Summary

load() parses untrusted TOML using a recursive-descent parser (Chevrotain) and a
recursive tree-walking interpreter. Neither the parser nor the interpreter enforces a
maximum nesting / key depth. A small, attacker-controlled document with deep nesting
(arrays, inline tables) or a long dotted key drives recursion past the V8 call-stack
limit, and load() throws an uncaught RangeError: Maximum call stack size exceeded.

This is a problem for two reasons:

  1. Denial of Service. A tiny payload (≈2 KB) reliably aborts parsing. In any
    service that parses user-supplied TOML, an unhandled RangeError can crash the
    worker/process (500 / restart loop).

  2. Error-contract violation. The library signals invalid input via
    SyntaxParseError (see src/load/exception.ts; the entire test suite asserts
    SyntaxParseError). Consumers that follow this contract —

    try { load(input); }
    catch (e) {
      if (e instanceof SyntaxParseError) return badRequest();
      throw e; // unexpected -> propagates
    }
    

    — will re-throw the RangeError instead of treating the input as malformed,
    turning malformed input into an unexpected fatal error.

Impact

  • Unauthenticated attacker who can supply a TOML string to an application using
    js-toml can force load() to throw a non-SyntaxParseError error.
  • If the error is not caught by a generic handler, the Node.js process terminates
    (availability impact).
  • Even when caught gene…

出典: NIST National Vulnerability Database NVD GitHub Advisory

参照URL

当サイトでは、アクセス解析と広告の効果測定のためにCookieを使います。株式会社Gameのサイト共通の設定です。 詳しく