CVE Watchtower

CVE-2025-61787Deno Command Injection

NVDCVSS scored by security-advisories@github.com

Vulnerability Summary

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.
Severity Level
HIGH(8.1)
Published Date
Oct 8, 2025
Last Modified
Oct 8, 2026
Exploitation Status
Public exploit available
EPSS Score (30-Day)
2.08%Probability
Root Weakness (CWE)
The product constructs all or part of a command using externally-influenced input but does not neutralize special elements that could modify the intended command.
CVSS v3.1 Base Metrics — Score 8.1 (HIGH)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • Deno <= 2.2.15
  • Deno >= 2.3.0 and < 2.5.3
  • denoland deno >= 2.3.0, < 2.5.3
  • denoland deno < 2.2.15
Patched Versions
  • Deno 2.5.3

What to do

Prioritize this fix. Exploit code is public, so attacks can follow quickly.

  1. Check whether you run Deno and which version.
  2. Update to a patched version listed above, then confirm the new version.
  3. Review logs and exposed services for signs of earlier compromise.

Timeline

  • Oct 8, 2025Published
  • Oct 8, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Deno CVEsYou are reading CVE-2025-61787. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 24, 2026 10:13 UTC