Skip to content
High 8.1

cross-spawnのWindows環境で、コマンド経由で任意のコマンドを実行される脆弱性

CVE-2026-137197 First seen on SecPulse

Summary

Windows上で動くNode.jsアプリケーションの cross-spawn に脆弱性があり、攻撃者が引数に細工した文字列を渡すと任意のコマンドを実行されるおそれがあります。影響するのは6.0.8より前と7.1.1より前の版で、6.0.8と7.1.1で修正されています。信頼できない入力を引数に渡すアプリケーションは、早めに修正版へ更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Windows上で動くNode.jsアプリケーションの cross-spawn に脆弱性があり、攻撃者が引数に細工した文字列を渡すと任意のコマンドを実行されるおそれがあります。影響するのは6.0.8より前と7.1.1より前の版で、6.0.8と7.1.1で修正されています。信頼できない入力を引数に渡すアプリケーションは、早めに修正版へ更新してください。

Original description The description as published by the source.

cross-spawn is a cross-platform solution for Node.js spawn and spawnSync. Prior to 6.0.8 and 7.1.1, applications running on Windows that pass untrusted arguments can be vulnerable when a command sent through cmd.exe is not written as a plain program name or path. Commands containing quotes, command-name delimiters, trailing whitespace, or a child-specific PATHEXT could cause cross-spawn to miss that cmd.exe would resolve a batch file. The arguments were then escaped as though the target were a regular program, allowing command metacharacters in an argument to be interpreted by cmd.exe and execute arbitrary commands. Applications are affected only when they use one of these command forms and pass untrusted input as arguments. This issue is fixed in versions 6.0.8 and 7.1.1.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details