CVE-2025-61787
October 08, 2025
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.
Affected Packages
https://github.com/denoland/deno.git (GITHUB):
Affected version(s) >=v0.0.1 <v2.2.15Fix Suggestion:
Update to version v2.2.15https://github.com/denoland/deno.git (GITHUB):
Affected version(s) >=v2.3.0 <v2.5.3Fix Suggestion:
Update to version v2.5.3deno (RUST):
Affected version(s) >=2.3.0 <2.5.3Fix Suggestion:
Update to version 2.5.3deno (RUST):
Affected version(s) >=0.0.1 <2.2.15Fix Suggestion:
Update to version 2.2.15Additional Notes
The description of this vulnerability differs from MITRE.
Related ResourcesĀ (8)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.1
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Neutralization of Special Elements used in a Command ('Command Injection')
EPSS
Base Score:
0.17