← 脆弱性・アップデート

緊急脆弱性アドバイザリJavaScript / Node.jsWindows

cross-spawn: Command injection on Windows when spawning batch files

影響

パッケージ影響する版修正版
npm:cross-spawn>= 7.0.0, < 7.1.07.1.0
npm:cross-spawn< 6.0.76.0.7

On Windows, cross-spawn runs commands that aren't executables (.exe or .com), such as batch files (.bat or .cmd), through cmd.exe, and escapes the command and its arguments for it. A batch file that forwards its arguments, e.g. with %, makes cmd.exe parse them a second time. cross-spawn only accounted for that second parse when the batch file was an npm cmd-shim located in node_modules/.bin. For any other batch file, such as npm.cmd, globally installed package shims or user batch files, a craft…

GitHub Advisory Databaseで読む

2026/12/01 11:58、GitHub Advisory Databaseが「cross-spawn: Command injection on Windows when spawning batch files」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「緊急」(critical) です。関連する技術: JavaScript / Node.js、Windows。CVE: CVE-2026-137199。