CVE Catalog

CVE-2025-61787

HighCVSS 8.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

High risk
2.08%

81th percentile - higher than 81% of all known CVEs

Summary

Deno versions prior to 2.5.3 and 2.2.15 are vulnerable to Command Line Injection attacks on Windows when batch files are executed. On Windows, CreateProcess() always implicitly spawns cmd.exe for .bat or .cmd files, even if not specified, enabling command injection.

Risk Assessment

An attacker could exploit this to execute arbitrary commands on the Windows system, potentially leading to machine compromise and security breach.

Recommendation

Update Deno to version 2.5.3 or 2.2.15, which fix the issue, and avoid executing unverified batch files.

Other vulnerabilities in Deno

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS