翻译: cross-spawn 是 Node.js 的 spawn 和 spawnSync 的跨平台解决方案。在 6.0.7 和 7.1.0 之前,在 Windows 上,如果应用程序将不可信参数传递给经过 cmd.exe 路由的命令,则可能存在漏洞:因为 cross-spawn 没有考虑到当一个位于 node_modules/.bin 之外的批处理文件转发其参数时,cmd.exe 可能进行第二次解析。精心构造的参数可能会逃出引号,并通过 npm.cmd、全局安装的包 shim 或用户批处理文件执行任意命令。尾部的
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| moxystudio | node-cross-spawn | < 6.0.7 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC| CVE-2026-137198 | 8.3 HIGH | cross-spawn: Argument injection on Windows via backslashes before a double quote |
| CVE-2026-137197 | 8.1 HIGH | cross-spawn: Command injection on Windows when the command is not a plain program name or |