CVE-2026-49402 json
Deno: Command Injection via spawnSync & spawn on Windows
published 2026-06-16 4 mo ago modified 2026-10-25 14 d ago also EUVD-2026-38546 , GHSA-7xh3-mhg9-jcw8 , JLSEC-2026-656
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 38%
- public exploits
- 0
- none known
Summary
Deno is a JavaScript, TypeScript, and WebAssembly runtime. Prior to 2.7.10, Deno's node:child_process implementation provided an escapeShellArg() helper used when callers passed shell: true to spawn / spawnSync / exec and friends. On Windows, the helper failed to quote arguments that contained cmd.exe metacharacters and did not neutralize % (which cmd.exe expands even inside double-quoted strings). An attacker who controlled any portion of an argument passed to such a call could inject arbitrary additional commands into the spawned cmd.exe invocation. This vulnerability is fixed in 2.7.10.
Patch / fix
- crates.io deno 2.7.10
- julia Deno_jll 2.8.1+0
- deno deno 2.7.10
- deno deno_runtime 2.7.10
- deno serde_v8 2.7.10
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 4 mo ago
Exploit prediction
0.45% chance of exploitation in the next 30 days, higher than 38% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/denoland/deno/security/advisories/GHSA-7xh3-mhg9-jcw8 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | deno | <2.7.10 |
2.7.10 |
| julia | Deno_jll | <2.8.1+0 |
2.8.1+0 |
Affected products
- denoland deno
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
github.com
/denoland/deno/security/advisories/GHSA-7xh3-mhg9-jcw8
exploit, web, mitigation, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-49402
advisory
-
github.com
/denoland/deno
package
-
github.com
/advisories/GHSA-7xh3-mhg9-jcw8
web
Sources
- CVE List CVE-2026-49402
- GitHub Advisory GHSA-7xh3-mhg9-jcw8
- NVD CVE-2026-49402
- OSV JLSEC-2026-656
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.