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.
                
            References
                    | Link | Resource | 
|---|---|
| https://github.com/denoland/deno/commit/8a0990ccd37bafd8768176ca64b906ba2da2d822 | Patch | 
| https://github.com/denoland/deno/pull/30818 | Issue Tracking Patch | 
| https://github.com/denoland/deno/releases/tag/v2.2.15 | Release Notes | 
| https://github.com/denoland/deno/releases/tag/v2.5.3 | Release Notes | 
| https://github.com/denoland/deno/security/advisories/GHSA-m2gf-x3f6-8hq3 | Exploit Vendor Advisory | 
Configurations
                    Configuration 1 (hide)
| AND | 
 
 | 
History
                    16 Oct 2025, 18:14
| Type | Values Removed | Values Added | 
|---|---|---|
| CPE | cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:* cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* | |
| References | () https://github.com/denoland/deno/commit/8a0990ccd37bafd8768176ca64b906ba2da2d822 - Patch | |
| References | () https://github.com/denoland/deno/pull/30818 - Issue Tracking, Patch | |
| References | () https://github.com/denoland/deno/releases/tag/v2.2.15 - Release Notes | |
| References | () https://github.com/denoland/deno/releases/tag/v2.5.3 - Release Notes | |
| References | () https://github.com/denoland/deno/security/advisories/GHSA-m2gf-x3f6-8hq3 - Exploit, Vendor Advisory | |
| First Time | Microsoft Microsoft windows Deno Deno deno | 
08 Oct 2025, 02:15
| Type | Values Removed | Values Added | 
|---|---|---|
| New CVE | 
Information
                Published : 2025-10-08 02:15
Updated : 2025-10-16 18:14
NVD link : CVE-2025-61787
Mitre link : CVE-2025-61787
CVE.ORG link : CVE-2025-61787
JSON object : View
Products Affected
                deno
- deno
microsoft
- windows
CWE
                
                    
                        
                        CWE-77
                        
            Improper Neutralization of Special Elements used in a Command ('Command Injection')
