Arbitrary Command Injection in Deno JavaScript Runtime
CVE-2026-49402

8.1HIGH

Key Information:

Vendor

Denoland

Status
Vendor
CVE Published:
23 June 2026

What is CVE-2026-49402?

The Deno JavaScript runtime, prior to version 2.7.10, contained a flaw in its node:child_process implementation. When the 'shell: true' option was used with functions like spawn, spawnSync, or exec, the escapeShellArg() helper did not properly quote arguments containing cmd.exe metacharacters and failed to neutralize the '%' character, leading to potential command injection. Attackers who could manipulate input arguments could inject arbitrary commands into the spawned cmd.exe context. This issue has been addressed in the updated version 2.7.10.

Affected Version(s)

deno < 2.7.10

References

CVSS V3.1

Score:
8.1
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.