CVE-2026-49402
published 2026-06-23CVE-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…
PriorityP350high8.1CVSS 3.1
AVNACHPRNUINSUCHIHAH
EPSS
0.45%
38.0th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| deno | deno | < 2.7.10 | 2.7.10 |
| deno | deno | >= 0 < 2.7.10 | 2.7.10 |
| denoland | deno | < 2.7.10 | 2.7.10 |
CVSS provenance
nvdv3.18.1HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
ghsa9.8CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
VulDB
denoland deno up to 2.7.9 escapeShellArg os command injection (GHSA-7xh3-mhg9-jcw8)
vuldb·2026-06-23·CVSS 8.1
CVE-2026-49402 [HIGH] denoland deno up to 2.7.9 escapeShellArg os command injection (GHSA-7xh3-mhg9-jcw8)
A vulnerability was found in denoland deno up to 2.7.9 and classified as critical. The impacted element is the function escapeShellArg. Executing a manipulation can lead to os command injection.
This vulnerability is handled as CVE-2026-49402. The attack can be executed remotely. There is not any exploit available.
It is suggested to upgrade the affected component.
GHSA
Deno: Command Injection via spawnSync & spawn on Windows
ghsa·2026-06-16·CVSS 9.8
CVE-2026-49402 [CRITICAL] CWE-78 Deno: Command Injection via spawnSync & spawn on Windows
Deno: Command Injection via spawnSync & spawn on Windows
## Summary
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 such as `&`, `|`, ``, `^`, `!`, `(`, `)`, 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 was the Windows counterpart to CVE-2026-27190, which fixed the same class of bug in the Unix branch of `escapeShellArg`.
## Details
On Windows, `child_process` with `shell: true`
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2026-06-23
Published