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

株式会社WR

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

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

警告 CVSS 6.3 Node.js CVE-2026-112944 公表 2026年10月20日

launch-editor にコマンド実行の脆弱性

Node.js — CVE-2026-112944

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

どんな問題か

ファイル名に「+」や「-」で始まる値を使うと、エディタがそれを命令の一部と誤解する問題です。条件がそろうと、意図しない上書きやコマンド実行につながります。

放置するとどうなるか

サーバー上で勝手にコマンドが動き、ファイルの書き換えや侵入につながる可能性があります。開発・保守環境が乗っ取られるおそれがあります。

今すぐやること

launch-editor を 2.14.2 へ更新してください。Node.js からエディタ起動を使う仕組みがある場合は、制作会社に影響確認を依頼し、危険なファイル名を受け付けないようにしてください。

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

  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, when an attacker can create a filesystem entry beginning with plus or minus in the working directory, an affected editor is selected, and the path can remain relative or is converted to a relative WSL path, launchEditor forwards the path without forcing it to be interpreted as a positional filename. Editor option parsing then treats the attacker-controlled filename as a command-line flag, which can cause unintended file overwrite or arbitrary command execution by the selected editor. The affected editors are Vim and gVim, MacVim, Emacs and Emacsclient, and Notepad++ when a plugin exposes dangerous operations; WSL path conversion keeps Vite and newer middleware callers exposed. This issue is fixed in version 2.14.2.

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

無料で相談する →