Skip to main content
← All vulnerabilities
CVE-2026-49402GHSA-7XH3-MHG9-JCW8

Deno: Command Injection via spawnSync & spawn on Windows

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.7.10
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • denoland deno

    fixed in 2.7.10

  • denocrates.io

    fixed in 2.7.10

References 1

GitHub · denoland/deno