Deno disclosed a high-severity command injection vulnerability in its Windows implementation of node:child_process, where the escapeShellArg() helper failed to safely handle cmd.exe metacharacters such as &, |, <, >, ^, !, (, ), and %. When applications used shell: true with spawn, spawnSync, exec, and related APIs, attacker-controlled input could break out of the intended argument context and execute arbitrary commands in the security context of the Deno process. A proof of concept showed calc.exe launching on Windows 11 after a crafted argument was passed to spawnSync.
The issue is tracked as CVE-2026-49402 and affects Deno versions prior to 2.7.10 on Windows. The flaw is considered the Windows counterpart to CVE-2026-27190, which addressed the same bug class on Unix-like systems. Deno said deployments are not affected when shell: true is not used, and advised users to upgrade to 2.7.10 and avoid passing untrusted input into shelled subprocess calls.

See affected versions and whether adversaries are exploiting it.
2 events from the most recent confirmed update back to the earliest known activity.
The vulnerability was fixed in Deno version 2.7.10, addressing command injection on Windows in versions prior to 2.7.10. Users were advised to upgrade and avoid using shell: true with user-controlled input.
Deno disclosed a command injection flaw in its Windows node:child_process implementation when shell: true was used with spawn, spawnSync, exec, and related APIs. The advisory described improper handling of cmd.exe metacharacters in escapeShellArg() and included a proof of concept showing calc.exe being launched via a crafted argument.
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
2 references tracked. Mallory keeps watching after this page renders.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.