CVE-2026-49402

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.
References
Configurations

Configuration 1 (hide)

AND
cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*

History

No history.

Information

Published : 2026-06-23 18:18

Updated : 2026-06-26 17:33


NVD link : CVE-2026-49402

Mitre link : CVE-2026-49402

CVE.ORG link : CVE-2026-49402


JSON object : View

Products Affected

microsoft

  • windows

deno

  • deno
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')