WR 株式会社WR 松戸のホームページ制作・社内システム・IT相談

株式会社WR

千葉県松戸市
松戸・柏・市川・流山・船橋 対応

ホーム›脆弱性情報›Node.js›CVE-2026-112942

重要 CVSS 7.5 Node.js CVE-2026-112942 公表 2026年10月20日

launch-editor-middleware に検証回避の脆弱性

Node.js — CVE-2026-112942

自分のサイトが該当するか無料診断 → 原文を見る(NVD(米国 脆弱性データベース))↗

どんな問題か

Windows のファイル指定で、存在確認の前後の処理にずれがあり、実在しない名前でも通してしまう問題です。別の不具合と組み合わさると、コマンド実行につながります。

放置するとどうなるか

不正なファイル指定が通り、最終的にコマンド実行されるおそれがあります。開発用の仕組みから被害が広がる可能性があります。

今すぐやること

launch-editor を 2.14.2 へ更新してください。middleware を使う構成なら、Windows 向けの入力チェックを保守会社と確認し、併用機能も見直してください。

自分のサイトが該当するかの確認手順

  1. お使いのサーバー・プログラムに Node.js が使われているか、制作会社・保守会社・サーバー会社に確認します(管理画面やサーバーのバージョン表示でも分かります)。
  2. バージョンが「2.14.2 より前」に当てはまるか確認します。
  3. 当てはまる場合は、修正版へのアップデートを依頼します。レンタルサーバーの場合はサーバー会社側で対応済みのこともあるので、お知らせを確認してください。
原文(英語)を表示
launch-editor allows users to open files with line numbers in editor from Node.js. Prior to 2.14.2, launch-editor-middleware processes an attacker-controlled Windows file argument where the file argument ends in a parent-directory component plus a line-and-column suffix: the path is resolved while the suffix is still present, and launch-editor removes the suffix before its existsSync check, leaving the existing parent directory for existsSync and allowing the attacker-controlled file argument to pass filename existence validation without requiring the malicious filename to exist. The bypass can lead to OS command injection when combined with the separately described Windows percent-expansion flaw. This issue is fixed in version 2.14.2.

※ 解説は NVD(米国 脆弱性データベース) の公表内容をもとにAIが生成しています。対象バージョン・修正版などの正確な情報は、必ず原文をご確認ください。

無料で相談する →