All vulnerabilities

Servers and applications

CVE-2025-61787

Command Injection on Windows

Severity
High 8.1
Published
7 Oct 2025
Last changed
8 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.2.15, 2.5.3
Also known as
GHSA-m2gf-x3f6-8hq3
Sources
NVD, Project advisories (GitHub)

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…

Affected software

SoftwareAffected versions
DenoServers and applications · cpe:a:deno:deno
  • Every version up to 2.2.15
  • From 2.3.0 before 2.5.3
DenoServers and applications · github:denoland/deno
  • Every version before 2.2.15

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2025-61787
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2025-61787
  • GitHub Advisory Database https://github.com/advisories/GHSA-m2gf-x3f6-8hq3
  • github.com https://github.com/denoland/deno/security/advisories/GHSA-m2gf-x3f6-8hq3