Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-49402— Deno: Command Injection via spawnSync & spawn on Windows

Quick assessment

Affected
denoland deno
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Deno是Deno组织开源的一个简单、现代且安全的 JavaScript 和 TypeScript 运行环境。 Deno Land Deno 2.7.10之前版本存在命令注入漏洞,该漏洞源于node:child_process实现的escapeShellArg()帮助函数在Windows平台上未正确对包含cmd.exe元字符的参数进行引号处理,且未中和%符号,导致攻击者可通过控制参数注入任意额外命令。

CVSS 8.1 · High EPSS 0.34% · P27

Possible ATT&CK Techniques 1 AI

T1059.004 · Unix Shell

Affected Version Matrix 1

VendorProduct Version RangeStatus
denoland deno < 2.7.10 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-49402

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Deno: Command Injection via spawnSync & spawn on Windows
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Deno Land Deno 命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Deno是Deno组织开源的一个简单、现代且安全的 JavaScript 和 TypeScript 运行环境。 Deno Land Deno 2.7.10之前版本存在命令注入漏洞,该漏洞源于node:child_process实现的escapeShellArg()帮助函数在Windows平台上未正确对包含cmd.exe元字符的参数进行引号处理,且未中和%符号,导致攻击者可通过控制参数注入任意额外命令。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
denoland deno < 2.7.10 -

II. Public POCs for CVE-2026-49402

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-49402

登录查看更多情报信息。

Vendor Advisories for CVE-2026-49402 (1)

Same Patch Batch · denoland · 2026-06-23 · 10 CVEs total

CVE-2026-49440 7.4 HIGH Deno: Miller-Rabin Primality Test Allows Zero Rounds
CVE-2026-44726 7.4 HIGH Deno: TLS retry copies stale upgrade hook, risking plaintext traffic
CVE-2026-49401 7.3 HIGH Deno Permission Bypass via Unicode Normalization Mismatch on macOS (APFS)
CVE-2026-49411 6.5 MEDIUM Deno Node TCPWrap numeric hostname aliases bypass --deny-net resolved-IP deny checks
CVE-2026-49406 5.5 MEDIUM Deno: BYONM module resolution allows `package.json` main path traversal to bypass `--allow
CVE-2026-49983 5.2 MEDIUM Deno: process.loadEnvFile() bypasses env permission checks and mutates process.env with on
CVE-2026-49860 5.2 MEDIUM Deno: WebSocket API sandbox bypass via missing post-DNS check
CVE-2026-49859 5.2 MEDIUM Deno: `fetch()` API sandbox bypass via missing DNS resolution check
CVE-2026-55517 4.3 MEDIUM Deno: Denial of service via non-ASCII bytes in WebSocket response headers

IV. Related Vulnerabilities

V. Comments for CVE-2026-49402

No comments yet


Leave a comment