CVE-2025-61787

High

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.

SeverityHigh
CVSS8.1
Exploit probability—
ProductDeno
PublishedOct 8, 2025
First seenOct 8, 2025

How to fix

Update
  • deno deno2.5.3 or later

Affected products

ProductAffected versionsFixed in
deno denov ≤ 2.2.15, 2.3.0 ≤ v < 2.5.32.5.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-61787 · Deno · Dark Radar