Vulnerability details

CVE-2025-61787

denoland deno

Deno is Vulnerable to Command Injection on Windows During Batch File Execution

CVSS 3.1
8.1High

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

CVSS scores

ScoreVersionSourceVector
8.1High 3.1 CVEProject cvelistV5 (CNA) (GitHub_M) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersionsSource
denoland deno < 2.2.15 CVEProject cvelistV5 (CNA)
denoland deno >= 2.3.0, < 2.5.3 CVEProject cvelistV5 (CNA)

References and advisories

5
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2025-10-08
Last updated
2025-10-08
State
Published
Assigner (CNA)
GitHub_M

Exploit prediction (EPSS)

2.08%
Probability of exploitation in 30 days
81.6%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
No
Exploitation
Proof of concept
Technical impact
Total

Weaknesses (CWE)

  • CWE-77
    Improper Neutralization of Special Elements used in a Command ('Command Injection')