CVE-2026-49402

HIGH

Deno: Command Injection via spawnSync & spawn on Windows

Title source: cna
STIX 2.1

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.

References (1)

Core 1
Core References

Scores

CVSS v3 8.1
EPSS 0.0034
EPSS Percentile 26.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-78
Status published
Products (3)
crates.io/deno 0 - 2.7.10crates.io
deno/deno < 2.7.10
denoland/deno < 2.7.10
Published Jun 23, 2026
Tracked Since Jun 23, 2026