Patch Ticker
日本語日
警戒

node-cross-spawn command injection on Windows

CVE-2026-137197

Windows programs built with Node.js can be hacked.

CVE
CVE-2026-137197(新しいタブで開きます)
スコア
CVSS 8.1
初確認

対処法

Update 7.x to 7.1.1 or later, and 6.x to 6.0.8 or later. Versions before 6.0.0 are unmaintained and will not be fixed, so move to a newer line. Until then, pass the program and its arguments separately in the args array, and do not set PATHEXT in options.env.

お使いの製品に合ったバージョン以降に更新してください:

  • node-cross-spawn 7.x 7.1.1 以降
  • node-cross-spawn 6.x 6.0.8 以降

要約

The cross-spawn package for Node.js mis-escapes arguments when certain command forms on Windows are run through cmd.exe. Windows programs that pass untrusted input as arguments can have arbitrary commands executed.

該当する条件

  • Runs on Windows
  • Command is not a plain program name or path (contains quotes, spaces, tabs, commas, semicolons or equals signs, trailing whitespace, or a child-specific PATHEXT)
  • Untrusted input passed as arguments

この製品の過去30日間のほかのインシデント 2件

製品別のインシデント: node-cross-spawn

node-cross-spawn のほかの最近のインシデント

勧告を読む · github.com(新しいタブで開きます)