緊急
node-cross-spawn command injection through Windows batch files
CVE-2026-137199
Windows programs using this library can be made to run hidden commands!
- CVE
- CVE-2026-137199(新しいタブで開きます)
- スコア
- CVSS 9.2
- 初確認
9.2
対処法
Update to 6.0.7 for the 6.x line or 7.1.0 for the 7.x line. Versions before 6.0.0 have no confirmed fixed version, so move to 6.0.7 or 7.1.0. Until then, validate untrusted input against a safe subset and call executables directly rather than through batch files.
お使いの製品に合ったバージョン以降に更新してください:
- node-cross-spawn 7.x 7.1.0 以降
- node-cross-spawn 6.x 6.0.7 以降
要約
Batch files run on Windows through cross-spawn can let crafted arguments run arbitrary commands. Programs that pass untrusted input as arguments to such commands are affected.
該当する条件
- Windows
- Untrusted input passed as arguments to commands run through cmd.exe
- Batch files outside node_modules/.bin, such as npm.cmd or global package shims
製品別のインシデント: node-cross-spawn
node-cross-spawn のほかの最近のインシデント
勧告を読む · github.com(新しいタブで開きます)
- セキュリティ勧告: github.com(新しいタブで開きます)
- CVE レコード: cve.org(新しいタブで開きます)
- リポジトリ: googlesky/CVE-2026-137199(新しいタブで開きます)