# CVE-2026-137199: cross-spawn: Command injection on Windows when spawning batch files

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 6.0.7, 7.1.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-11-30 · Modified: 2026-12-01
- Aliases: GHSA-ghv9-86vm-4v8m, CGA-jpfw-jfhx-49f5, CGA-2j75-965j-ww95, CGA-864j-w8r8-qmrq, CGA-97q2-f798-q279, CGA-hxxc-8gwh-53c2, CGA-38h7-x2qc-v6j2, CGA-4747-rp69-5v4w, CGA-5m7v-vx2m-52cx, CGA-5p67-4gp6-rhj2, CGA-5pj5-h6gq-q87g, CGA-7w5h-p58c-hpm5, CGA-8j5j-fh4c-2p6m, CGA-f4rg-fqjh-4v49, CGA-grr4-whgx-7v4r, CGA-qrhc-rgrp-rgqf, CGA-22hr-2c3j-pfpx, CGA-2369-rr9h-2vwv, CGA-245g-pcxw-v8cg, CGA-258j-8288-p344, CGA-2959-v847-6xrh, CGA-2gcq-wgmv-p4vv, CGA-2w92-8rj4-h53p, CGA-2x5r-v4gw-mmgw, CGA-38h3-p5cx-m5vp, CGA-38jq-rwff-3h57, CGA-3943-qh7r-vvgr, CGA-3fcr-266f-xrp9, CGA-3hx6-j2g3-65mx, CGA-3r7v-xmhv-gv73, CGA-4c9x-p4g8-99cm, CGA-4fx7-7g77-xj5g, CGA-4gfw-cxpf-gv2c, CGA-4hg9-2g25-f6wr, CGA-4m8q-g9m8-wxgx, CGA-4rv2-5jfc-jc82, CGA-5cp7-8vrw-2xhv, CGA-5mq5-m759-8p83, CGA-5vmw-3vvg-9cpm, CGA-5xj9-xqwm-7222, CGA-5xwg-29vr-3frv, CGA-68hp-7388-c3c5, CGA-6gq7-46w3-3j8g, CGA-6m38-5x7j-gvmh, CGA-7pf3-73xp-qqxg, CGA-7qp4-w2wj-6943, CGA-7vpc-grfq-wjpp, CGA-8c3h-gq7f-2p42, CGA-8cm4-m842-vpj9, CGA-8j22-359c-j558, CGA-8w8v-f7ph-m8vv, CGA-8wg9-fwj2-7vcq, CGA-9gmj-vmh3-gmh2, CGA-9grq-x34j-g69v, CGA-9p9p-m534-mwqv, CGA-9ppr-vv3h-pf5f, CGA-9q8m-c6p7-mj2r, CGA-cmmm-f7fx-cp73, CGA-cq88-7c4r-vxcf, CGA-crr3-hg2g-qwf7, CGA-cw9m-rv2v-5m5h, CGA-fpcr-6wp2-72f7, CGA-fpq4-vcv4-8pgh, CGA-frhc-xqf5-chx2, CGA-g5fh-cj4r-94p5, CGA-gq62-pwrx-j83m, CGA-grxh-fmf5-993v, CGA-gvjf-pfw7-8cr5, CGA-gwhq-wrv9-63q6, CGA-hgvj-mwmw-5gm9, CGA-hwv6-g783-c5j6, CGA-jw7f-x2mr-2454, CGA-mvcv-jwjc-hr27, CGA-mxgf-qcxg-9mc7, CGA-pvg9-f2r9-782v, CGA-pvhq-55vw-mr4w, CGA-qrhp-c73c-mxq9, CGA-qxrx-53cv-64f3, CGA-vvg5-6492-789f, CGA-vxj2-mhjr-22p8, CGA-xqjq-398c-w5wr, CGA-2hm5-79vm-w4h9, CGA-3f36-q77q-x7mr, CGA-3jxj-qgvm-pj69, CGA-5m88-54q4-m77x, CGA-65p9-4pvp-x6m3, CGA-6f3q-7pv5-256q, CGA-755p-mvgm-j4m3, CGA-gg4p-cq49-fw4g, CGA-hx8g-qvmp-jpxj, CGA-p5p5-6r4x-pp8c, CGA-pgfh-f2gh-jmrr, CGA-r8rr-v6mx-xq68, CGA-v4xc-f449-fpc5, CGA-vjxg-cgp3-47hq, CGA-vm9x-4x4h-2cq5, CGA-w4xm-85fp-w4hr, CGA-w86c-hmjj-qx25, CGA-x473-mv5c-r5q4, CGA-22mh-hqhp-q38c, CGA-259c-q98r-8g72, CGA-2669-qrp3-j4c5, CGA-2rx7-v5j4-mhpr, CGA-2xh9-pmhf-h84h, CGA-32r2-c688-mv77, CGA-37r9-c552-rf36, CGA-37rp-g6fg-xpgj, CGA-3fvr-v2pg-733w, CGA-3gvp-4xjc-r67q, CGA-44q2-fjh2-vj5r, CGA-48qh-w994-9h3m, CGA-4gxq-g65r-xwq9, CGA-4gxw-8qqm-3rxp, CGA-4jrq-h44w-2p4p, CGA-4v8p-wmwp-jw56, CGA-4wvf-2q75-x5mf, CGA-53rq-9q4c-w737, CGA-563f-4f63-rj8p, CGA-5p8f-cv3h-3jj8, CGA-646r-h692-6xww, CGA-64mq-vpp4-9x3r, CGA-6x7x-7qg8-8fc4, CGA-7338-3jxx-fm47, CGA-778w-2rf5-mphr, CGA-789m-wq4g-cff7, CGA-7m6q-5q5m-g467, CGA-7xrr-w67v-45fc, CGA-84hh-vf62-mwp2, CGA-8j7j-hqh4-g4jm, CGA-8w4g-p3cc-62g9, CGA-8wq2-66px-vq8c, CGA-98f9-r5rq-q6jw, CGA-9r3w-4r4c-652x, CGA-9xqv-9q8f-xrx6, CGA-c3h7-2c9x-2wp4, CGA-c72f-2mv2-j792, CGA-c84h-4mhh-6qx2, CGA-cpr5-73m5-gx5m, CGA-f492-p56p-vmp6, CGA-fw7m-5w38-8wq8, CGA-g486-jg3q-2crv, CGA-g56m-4f3f-7cjm, CGA-g8v5-jrr7-q9v8, CGA-gj98-g3qh-9wcp, CGA-gmqh-7fh6-xcc4, CGA-gw2x-mjf2-cwg9, CGA-j2r5-6f48-wjx3, CGA-j879-rrmx-g5hf, CGA-j9cp-492g-f2j8, CGA-jfcp-hjvh-x63r, CGA-m7f9-h3h6-3646, CGA-mgg8-9hqh-4v4m, CGA-mghj-xf64-698m, CGA-mh9g-5cxr-8p4g, CGA-mm74-v4f4-6chj, CGA-mq2r-433x-q598, CGA-p2gm-84jp-pqqg, CGA-prm2-7jhv-93mh, CGA-pv2x-365v-h9rg, CGA-qc6p-p9x4-jrf8, CGA-qg86-phrv-rx4h, CGA-qgh2-f5qh-93h8, CGA-qr4h-3wv3-624f, CGA-r2w9-x2qf-5wgv, CGA-rc9x-5phq-6wwv, CGA-rfw3-wx7m-cchm, CGA-rhh7-v75c-j8rr, CGA-rjc9-cv6p-w89p, CGA-rq65-49q2-rg6j, CGA-rvvj-m6qp-v7wf, CGA-v6p9-7jhm-whmh, CGA-v8g9-g3f9-mwjw, CGA-w4fv-jjx7-7ggh, CGA-xvp3-gjpq-8q9h, CGA-m2wf-mhgj-33jj, CGA-q8c7-g368-vr9p, CGA-446x-h657-573r, CGA-544w-xh36-5xpw, CGA-55rh-797m-r6v9, CGA-78cj-rp93-mmr5, CGA-85hj-j98v-3c29, CGA-99h3-jmwp-gmh9, CGA-cfwh-8jhm-qpv8, CGA-fhh2-xhq9-grr3, CGA-g8gp-r854-57rf, CGA-h2qh-jqf8-vq7v, CGA-h4gc-x276-9vpq, CGA-hcgq-9pxm-6q56, CGA-m28c-8mc4-fgfc, CGA-m97j-4g4h-gwcx, CGA-mh6f-cqc8-c8pg, CGA-pcjf-g5v2-q7h9, CGA-pgr3-9c84-jw65, CGA-pjqp-cqmx-hgm2, CGA-q554-p4wr-7vf9, CGA-qgp8-6857-43w3, CGA-v53q-ch9w-2f3h, CGA-w373-948x-cf2q, CGA-w5mx-423j-3649, CGA-w942-jgj9-xrvp, CGA-x8xg-q2w9-345c, CGA-xq4c-372v-hgjr, CGA-xrfh-84wv-crx9, CGA-fjgw-4vp3-35fg, CGA-wq8q-r2wx-p797
- Record: https://cvemate.com/vulnerability/CVE-2026-137199 · JSON: https://cvemate.com/vulnerability/CVE-2026-137199/json

## Description

```text
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.
```

## Signals

- CVSS: 9.2 critical (v4.0, CVE.org) 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
- EPSS: 1.091%, percentile 66.528%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 112)

- chainguard airflow-2 (Chainguard): All versions (No fix recorded)
- chainguard arangodb-3.11 (Chainguard): All versions (No fix recorded)
- chainguard arangodb-3.12 (Chainguard): \< 3.12.14-r2
- chainguard argo-workflows-ui-3.7 (Chainguard): All versions (No fix recorded) \| \< 3.7.18-r18
- chainguard argo-workflows-ui-4.0 (Chainguard): All versions (No fix recorded) \| \< 4.0.16-r1
- chainguard argo-workflows-ui-4.1 (Chainguard): All versions (No fix recorded) \| \< 4.1.7-r1
- chainguard authentik-2026.2 (Chainguard): All versions (No fix recorded) \| \< 2026.2.7-r20
- chainguard authentik-2026.5 (Chainguard): All versions (No fix recorded) \| \< 2026.5.9-r1
- chainguard authentik-fips-2025.12 (Chainguard): All versions (No fix recorded)
- chainguard authentik-fips-2026.2 (Chainguard): All versions (No fix recorded) \| \< 2026.2.7-r20
- chainguard authentik-fips-2026.5 (Chainguard): All versions (No fix recorded) \| \< 2026.5.9-r2
- chainguard browsertime (Chainguard): All versions (No fix recorded)
- chainguard code-server (Chainguard): All versions (No fix recorded) \| \< 4.145.2-r3
- chainguard codeceptjs-codeceptjs (Chainguard): All versions (No fix recorded)
- chainguard cypress (Chainguard): All versions (No fix recorded)
- chainguard dotstatsuite-url-shortener (Chainguard): \< 2.1.3-r1
- chainguard eslint (Chainguard): All versions (No fix recorded) \| \< 10.16.0-r1
- chainguard foxx-cli (Chainguard): \< 2.1.1-r15
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/moxystudio/node-cross-spawn/security/advisories/GHSA-ghv9-86vm-4v8m>
- <https://github.com/moxystudio/node-cross-spawn/issues/171>
- <https://github.com/moxystudio/node-cross-spawn/pull/191>
- <https://github.com/moxystudio/node-cross-spawn/pull/192>
- <https://github.com/moxystudio/node-cross-spawn/commit/1b71aa519a2e4f97d1f3ee27f0e2fc24ba17cf1a>
- <https://github.com/moxystudio/node-cross-spawn/commit/244ffeaa8473de0080c93ebbf779bb953b94114b>
- <https://github.com/moxystudio/node-cross-spawn/releases/tag/v6.0.7>
- <https://github.com/moxystudio/node-cross-spawn/releases/tag/v7.1.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-137199>
- <https://github.com/moxystudio/node-cross-spawn>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137199.json>

---

Data as of 2026-12-05T07:21:31.230Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
