CVE-2025-61787

HIGH CVSS 3.1: 8.1 EPSS 2.16%
Updated Oct 08, 2026
Microsoft
Parameter Value
CVSS 8.1 (HIGH)
Affected Versions 2.3.0 — 2.5.3
Fixed In 2.5.3
Type CWE-77 (Command Injection)
Vendor Microsoft
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 3

Configuration From (including) Up to (excluding)
Deno Deno
cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*
— <= 2.2.15
Deno Deno
cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*
2.3.0 2.5.3
Microsoft Windows
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
— —