Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Deno | Deno | < 2.7.10 |
| Microsoft | Windows | - |
Related Weaknesses (CWE)
References
- https://github.com/denoland/deno/security/advisories/GHSA-7xh3-mhg9-jcw8ExploitMitigationVendor Advisory
- https://github.com/denoland/deno/security/advisories/GHSA-7xh3-mhg9-jcw8ExploitMitigationVendor Advisory
FAQ
What is CVE-2026-49402?
CVE-2026-49402 is a vulnerability with a CVSS score of 8.1 (HIGH). 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 /...
How severe is CVE-2026-49402?
CVE-2026-49402 has been rated HIGH with a CVSS base score of 8.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-49402?
Check the references section above for vendor advisories and patch information. Affected products include: Deno Deno, Microsoft Windows.