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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-61787— Deno is Vulnerable to Command Injection on Windows During Batch File Execution

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 2.5.3之前版本和2.2.15之前版本存在命令注入漏洞,该漏洞源于Windows上执行批处理文件时容易受到命令行注入攻击。

CVSS 8.1 · High EPSS 2.08% · P81

Possible ATT&CK Techniques 1 AI

T1059.001 · PowerShell
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-61787

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 is Vulnerable to Command Injection on Windows During Batch File Execution
Source: CVE Program / CVE List V5
Vulnerability Description
Deno is a JavaScript, TypeScript, and WebAssembly runtime. Versions prior to 2.5.3 and 2.2.15 are vulnerable to Command Line Injection attacks on Windows when batch files are executed. In Windows, ``CreateProcess()`` always implicitly spawns ``cmd.exe`` if a batch file (.bat, .cmd, etc.) is being executed even if the application does not specify it via the command line. This makes Deno vulnerable to a command injection attack on Windows. Versions 2.5.3 and 2.2.15 fix the issue.
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
在命令中使用的特殊元素转义处理不恰当(命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Deno 命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Deno是Deno开源的一个简单、现代且安全的 JavaScript 和 TypeScript 运行环境。 Deno 2.5.3之前版本和2.2.15之前版本存在命令注入漏洞,该漏洞源于Windows上执行批处理文件时容易受到命令行注入攻击。
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.3.0, < 2.5.3 -

II. Public POCs for CVE-2025-61787

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-61787

请登录查看更多情报信息。

Patches & Fixes for CVE-2025-61787 (2)

Vendor Advisories for CVE-2025-61787 (1)

Vendor Pages for CVE-2025-61787 (2)

Same Patch Batch · denoland · 2025-10-08 · 3 CVEs total

CVE-2025-61786 3.3 LOW Deno's --deny-read check does not prevent permission bypass
CVE-2025-61785 Deno's --deny-write check does not prevent permission bypass

IV. Related Vulnerabilities

V. Comments for CVE-2025-61787

No comments yet


Leave a comment