CVE-2025-61787

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.
Configurations

Configuration 1 (hide)

AND
OR cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*
cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*

History

16 Oct 2025, 18:14

Type Values Removed Values Added
First Time Microsoft windows
Deno deno
Microsoft
Deno
CPE cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*
References () https://github.com/denoland/deno/commit/8a0990ccd37bafd8768176ca64b906ba2da2d822 - () https://github.com/denoland/deno/commit/8a0990ccd37bafd8768176ca64b906ba2da2d822 - Patch
References () https://github.com/denoland/deno/pull/30818 - () https://github.com/denoland/deno/pull/30818 - Issue Tracking, Patch
References () https://github.com/denoland/deno/releases/tag/v2.2.15 - () https://github.com/denoland/deno/releases/tag/v2.2.15 - Release Notes
References () https://github.com/denoland/deno/releases/tag/v2.5.3 - () https://github.com/denoland/deno/releases/tag/v2.5.3 - Release Notes
References () https://github.com/denoland/deno/security/advisories/GHSA-m2gf-x3f6-8hq3 - () https://github.com/denoland/deno/security/advisories/GHSA-m2gf-x3f6-8hq3 - Exploit, Vendor Advisory

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')