CVE-2026-137199 moxystudio · node-cross-spawn
MI-összefoglaló
A cross-spawn Node.js könyvtár 6.0.7 és 7.1.0 előtti verzióiban Windows rendszeren a cmd.exe-n keresztül továbbított, nem megbízható argumentumok kitörhetnek az idézőjelekből, így tetszőleges parancsfuttatást tesznek lehetővé (pl. npm.cmd, globális csomag-shimek vagy batch fájlok révén). Csak Windows érintett, és csak ha az alkalmazás nem megbízható argumentumokat ad át; a kritikus (9.2) súlyosság miatt mielőbb frissítsen a 6.0.7 vagy 7.1.0 verzióra.
Hivatalos leírás
cross-spawn is a cross-platform solution for Node.js spawn and spawnSync. Prior to 6.0.7 and 7.1.0, Windows applications that pass untrusted arguments to commands routed through cmd.exe can be vulnerable because cross-spawn did not account for the second cmd.exe parse performed when a batch file outside node_modules/.bin forwards its arguments. A crafted argument could break out of its quotes and execute arbitrary commands through npm.cmd, globally installed package shims, or user batch files. Trailing dots or spaces could bypass batch-file detection. A percent-delimited variable in an argument could be expanded when an environment variable with the same name followed by a caret existed, and an exclamation-delimited variable could be expanded when delayed expansion was enabled in the registry. Other platforms and the intentionally unescaped options.shell mode are not affected. This issue is fixed in versions 6.0.7 and 7.1.0.
- Megjelent
- 2026-11-30 21:17 UTC
- Módosítva
- 2026-11-30 21:17 UTC
- CVSS
- 9.2 Kritikus
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - ENISA EUVD
- EUVD-2026-139685
- CWE
- CWE-78
CVSS-vektor
- Támadási útvonal
- hálózatról
- Bonyolultság
- magas
- Előfeltétel
- van
- Szükséges jogosultság
- nem kell
- Felhasználói közreműködés
- nem kell
- Bizalmasság
- magas
- Sértetlenség
- magas
- Rendelkezésre állás
- magas
Hivatkozások
- NVD · CVE.org
- github.com
https://github.com/moxystudio/node-cross-spawn/commit/1b71aa519a2e4f97d1f3ee27f0e2fc24ba17cf1a - github.com
https://github.com/moxystudio/node-cross-spawn/commit/244ffeaa8473de0080c93ebbf779bb953b94114b - github.com
https://github.com/moxystudio/node-cross-spawn/issues/171 - github.com
https://github.com/moxystudio/node-cross-spawn/pull/191 - github.com
https://github.com/moxystudio/node-cross-spawn/pull/192 - github.com
https://github.com/moxystudio/node-cross-spawn/releases/tag/v6.0.7 - github.com
https://github.com/moxystudio/node-cross-spawn/releases/tag/v7.1.0 - github.com
https://github.com/moxystudio/node-cross-spawn/security/advisories/GHSA-ghv9-86vm-4v8m